- Patch #89424 by sandhurs: correct function definition of aggregator_block().
parent
2704d144a9
commit
f69bb03d2f
|
@ -245,7 +245,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');
|
||||
|
|
Loading…
Reference in New Issue