summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/aggregator.module2
-rw-r--r--modules/aggregator/aggregator.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/aggregator.module b/modules/aggregator.module
index 3a6d2d43e..148d052f7 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 3a6d2d43e..148d052f7 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');