summaryrefslogtreecommitdiff
path: root/modules/aggregator
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-03-02 08:13:15 +0000
committerDries Buytaert <dries@buytaert.net>2005-03-02 08:13:15 +0000
commitc1d9fffb575037264c74b305c4cf2209f0a70190 (patch)
tree75265cf6c192200500eadeb8f4addd65196537d7 /modules/aggregator
parentcc78d6c8cffc8ea76ad28b42b7890d15dc5a0490 (diff)
downloadbrdo-c1d9fffb575037264c74b305c4cf2209f0a70190.tar.gz
brdo-c1d9fffb575037264c74b305c4cf2209f0a70190.tar.bz2
- Patch #18231 by cprice: -> = 0
Diffstat (limited to 'modules/aggregator')
-rw-r--r--modules/aggregator/aggregator.module2
1 files changed, 1 insertions, 1 deletions
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');