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
......@@ -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));
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment