From a4525d31b2536bc8ad9da013f4ed5168fac87d0a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 17 Sep 2020 19:02:27 +0300 Subject: replace FALSE with false so that static analyzer shuts up about it --- plugins/af_readability/init.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/af_readability') diff --git a/plugins/af_readability/init.php b/plugins/af_readability/init.php index 9c62a4772..ce8f8d2a4 100755 --- a/plugins/af_readability/init.php +++ b/plugins/af_readability/init.php @@ -133,7 +133,7 @@ class Af_Readability extends Plugin { if (!is_array($enabled_feeds)) $enabled_feeds = array(); $key = array_search($feed_id, $enabled_feeds); - $checked = $key !== FALSE ? "checked" : ""; + $checked = $key !== false ? "checked" : ""; print "
"; @@ -153,11 +153,11 @@ class Af_Readability extends Plugin { $key = array_search($feed_id, $enabled_feeds); if ($enable) { - if ($key === FALSE) { + if ($key === false) { array_push($enabled_feeds, $feed_id); } } else { - if ($key !== FALSE) { + if ($key !== false) { unset($enabled_feeds[$key]); } } @@ -250,7 +250,7 @@ class Af_Readability extends Plugin { if (!is_array($enabled_feeds)) return $article; $key = array_search($article["feed"]["id"], $enabled_feeds); - if ($key === FALSE) return $article; + if ($key === false) return $article; return $this->process_article($article); -- cgit v1.2.3