- Patch #89424 by sandhurs: correct function definition of aggregator_block().

5.x
Dries Buytaert 2006-10-17 19:15:27 +00:00
parent 64a24732f7
commit a856f813d7
1 changed files with 1 additions and 1 deletions

View File

@ -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');