Skip to content
Snippets Groups Projects
Commit a856f813 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

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

parent 64a24732
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment