summaryrefslogtreecommitdiff
path: root/plugins/af_readability/init.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/af_readability/init.php')
-rwxr-xr-xplugins/af_readability/init.php8
1 files changed, 4 insertions, 4 deletions
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 "<fieldset>";
@@ -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);