summaryrefslogtreecommitdiff
path: root/plugins/af_comics/filters/af_comics_pa.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-09-17 19:02:27 +0300
committerAndrew Dolgov <[email protected]>2020-09-17 19:02:27 +0300
commita4525d31b2536bc8ad9da013f4ed5168fac87d0a (patch)
tree9ae00d19d362a74693800b45efbbf6ffaddcdbb9 /plugins/af_comics/filters/af_comics_pa.php
parent57fac845166a2efa7244c61cce31442fc5600232 (diff)
replace FALSE with false so that static analyzer shuts up about it
Diffstat (limited to 'plugins/af_comics/filters/af_comics_pa.php')
-rw-r--r--plugins/af_comics/filters/af_comics_pa.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/af_comics/filters/af_comics_pa.php b/plugins/af_comics/filters/af_comics_pa.php
index 7a60feabb..c70a39f6e 100644
--- a/plugins/af_comics/filters/af_comics_pa.php
+++ b/plugins/af_comics/filters/af_comics_pa.php
@@ -6,7 +6,7 @@ class Af_Comics_Pa extends Af_ComicFilter {
}
function process(&$article) {
- if (strpos($article["link"], "penny-arcade.com") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) {
+ if (strpos($article["link"], "penny-arcade.com") !== false && strpos($article["title"], "Comic:") !== false) {
$doc = new DOMDocument();
@@ -22,7 +22,7 @@ class Af_Comics_Pa extends Af_ComicFilter {
return true;
}
- if (strpos($article["link"], "penny-arcade.com") !== FALSE && strpos($article["title"], "News Post:") !== FALSE) {
+ if (strpos($article["link"], "penny-arcade.com") !== false && strpos($article["title"], "News Post:") !== false) {
$doc = new DOMDocument();
if ($doc->loadHTML(fetch_file_contents($article["link"]))) {