Merge pull request 'Fix an undefined array key warning in 'catchupFeed'.' (#4) from wn/tt-rss:rpc-catchupfeed-warning into master

Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/4
master
fox 4 years ago
commit b8786215dc

@ -150,7 +150,7 @@ class RPC extends Handler_Protected {
function catchupFeed() { function catchupFeed() {
$feed_id = clean($_REQUEST['feed_id']); $feed_id = clean($_REQUEST['feed_id']);
$is_cat = clean($_REQUEST['is_cat']) == "true"; $is_cat = clean($_REQUEST['is_cat']) == "true";
$mode = clean($_REQUEST['mode']); $mode = clean($_REQUEST['mode'] ?? '');
$search_query = clean($_REQUEST['search_query']); $search_query = clean($_REQUEST['search_query']);
$search_lang = clean($_REQUEST['search_lang']); $search_lang = clean($_REQUEST['search_lang']);

Loading…
Cancel
Save