From d293cbd5a96eb49c98e9733cae7aebfc64eb7c78 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 8 Feb 2021 11:46:43 +0300 Subject: fix several warnings related to feed editor --- plugins/af_readability/init.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/af_readability') 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); -- cgit v1.2.3