1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-07 14:01:33 +00:00

fix some php8 warnings

This commit is contained in:
Andrew Dolgov
2021-03-08 11:16:32 +03:00
parent a125e8540d
commit c26f58d8a5
3 changed files with 7 additions and 7 deletions

View File

@@ -51,8 +51,8 @@ class Pref_Filters extends Handler_Protected {
$filter = array();
$filter["enabled"] = true;
$filter["match_any_rule"] = checkbox_to_sql_bool(clean($_REQUEST["match_any_rule"]));
$filter["inverse"] = checkbox_to_sql_bool(clean($_REQUEST["inverse"]));
$filter["match_any_rule"] = checkbox_to_sql_bool(clean($_REQUEST["match_any_rule"] ?? false));
$filter["inverse"] = checkbox_to_sql_bool(clean($_REQUEST["inverse"] ?? false));
$filter["rules"] = array();
$filter["actions"] = array("dummy-action");