1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 03:15:56 +00:00

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

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 */