From a856f813d7833211fc393b26218495bd634ea1ae Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Tue, 17 Oct 2006 19:15:27 +0000 Subject: [PATCH] - Patch #89424 by sandhurs: correct function definition of aggregator_block(). --- modules/aggregator/aggregator.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index ff6088e7c012..93129f6ddc4f 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -257,7 +257,7 @@ function aggregator_cron() { * * Generates blocks for the latest news items in each category and feed. */ -function aggregator_block($op, $delta = 0, $edit = array()) { +function aggregator_block($op = 'list', $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