summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
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);