From c1d9fffb575037264c74b305c4cf2209f0a70190 Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Wed, 2 Mar 2005 08:13:15 +0000 Subject: [PATCH] - Patch #18231 by cprice: -> = 0 --- modules/aggregator.module | 2 +- modules/aggregator/aggregator.module | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/aggregator.module b/modules/aggregator.module index 3a6d2d43e0f6..148d052f734a 100644 --- a/modules/aggregator.module +++ b/modules/aggregator.module @@ -193,7 +193,7 @@ function aggregator_cron() { * * Generates blocks for the latest news items in each category and feed. */ -function aggregator_block($op, $delta, $edit = array()) { +function aggregator_block($op, $delta = 0, $edit = array()) { if (user_access('access news feeds')) { if ($op == 'list') { $result = db_query('SELECT cid, title FROM {aggregator_category} ORDER BY title'); diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index 3a6d2d43e0f6..148d052f734a 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -193,7 +193,7 @@ function aggregator_cron() { * * Generates blocks for the latest news items in each category and feed. */ -function aggregator_block($op, $delta, $edit = array()) { +function aggregator_block($op, $delta = 0, $edit = array()) { if (user_access('access news feeds')) { if ($op == 'list') { $result = db_query('SELECT cid, title FROM {aggregator_category} ORDER BY title'); -- GitLab