Merge pull request 'Fix Undefined array key "order_by"' (#54) from klempin/tt-rss:master into master

Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/54
This commit is contained in:
fox 2021-11-19 07:35:20 +03:00
commit 3070933f64
1 changed files with 1 additions and 1 deletions

View File

@ -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"]) ?? "");
list($override_order, $skip_first_id_check) = Feeds::_order_to_override_query(clean($_REQUEST["order_by"] ?? ""));
/* do not rely on params below */