mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 13:35:56 +00:00
API: fix unexpected null being passed to _order_to_override_query
This commit is contained in:
@@ -222,7 +222,7 @@ class API extends Handler {
|
||||
|
||||
$_SESSION['hasSandbox'] = $has_sandbox;
|
||||
|
||||
list($override_order, $skip_first_id_check) = Feeds::_order_to_override_query(clean($_REQUEST["order_by"] ?? null));
|
||||
list($override_order, $skip_first_id_check) = Feeds::_order_to_override_query(clean($_REQUEST["order_by"]) ?? "");
|
||||
|
||||
/* do not rely on params below */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user