Skip to content
Snippets Groups Projects
Commit e3ce199f authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#198321 by ulhume: recent security update had the arguments order wrong in db_query_range()

parent d83289f8
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
......@@ -1100,7 +1100,7 @@ function taxonomy_select_nodes($tids = array(), $operator = 'or', $depth = 0, $p
$result = pager_query($sql, variable_get('default_nodes_main', 10), 0, $sql_count, $args);
}
else {
$result = db_query_range($sql, 0, variable_get('feed_default_items', 10), $args);
$result = db_query_range($sql, $args, 0, variable_get('feed_default_items', 10));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment