Fix an undefined array key warning in 'catchupFeed'.

This commit is contained in:
wn_ 2021-02-19 21:46:30 +00:00
parent 053b262aa7
commit ce3e1756b3
1 changed files with 1 additions and 1 deletions

View File

@ -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']);