API: fix unexpected null being passed to _order_to_override_query
This commit is contained in:
parent
b77f6c9a6b
commit
9ac67c7973
|
@ -222,7 +222,7 @@ class API extends Handler {
|
||||||
|
|
||||||
$_SESSION['hasSandbox'] = $has_sandbox;
|
$_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 */
|
/* do not rely on params below */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue