summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-08 11:46:43 +0300
committerAndrew Dolgov <[email protected]>2021-02-08 11:46:43 +0300
commitd293cbd5a96eb49c98e9733cae7aebfc64eb7c78 (patch)
tree1d6bbcdb8372ea991c914dda002746edcbc8dac4 /plugins
parent43abc183ab55bbc1d6b1ccd01e5b9a959ed1e82c (diff)
fix several warnings related to feed editor
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/af_readability/init.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/af_readability/init.php b/plugins/af_readability/init.php
index 0fcaea107..8bd41cd77 100755
--- a/plugins/af_readability/init.php
+++ b/plugins/af_readability/init.php
@@ -159,8 +159,8 @@ class Af_Readability extends Plugin {
$enabled_feeds = $this->get_stored_array("enabled_feeds");
$append_feeds = $this->get_stored_array("append_feeds");
- $enable = checkbox_to_sql_bool($_POST["af_readability_enabled"]);
- $append = checkbox_to_sql_bool($_POST["af_readability_append"]);
+ $enable = checkbox_to_sql_bool($_POST["af_readability_enabled"] ?? "");
+ $append = checkbox_to_sql_bool($_POST["af_readability_append"] ?? "");
$enable_key = array_search($feed_id, $enabled_feeds);
$append_key = array_search($feed_id, $append_feeds);