Fix an undefined array key warning in 'catchupFeed'.

master
wn_ 4 years ago
parent 053b262aa7
commit ce3e1756b3

@ -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