diff options
author | Andrew Dolgov <[email protected]> | 2020-09-17 19:02:27 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2020-09-17 19:02:27 +0300 |
commit | a4525d31b2536bc8ad9da013f4ed5168fac87d0a (patch) | |
tree | 9ae00d19d362a74693800b45efbbf6ffaddcdbb9 /classes/feeds.php | |
parent | 57fac845166a2efa7244c61cce31442fc5600232 (diff) |
replace FALSE with false so that static analyzer shuts up about it
Diffstat (limited to 'classes/feeds.php')
-rwxr-xr-x | classes/feeds.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/feeds.php b/classes/feeds.php index 9c04ba137..4714e4c9a 100755 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -210,7 +210,7 @@ class Feeds extends Handler_Protected { $feed_title = $qfh_ret[1]; $feed_site_url = $qfh_ret[2]; $last_error = $qfh_ret[3]; - $last_updated = strpos($qfh_ret[4], '1970-') === FALSE ? + $last_updated = strpos($qfh_ret[4], '1970-') === false ? make_local_datetime($qfh_ret[4], false) : __("Never"); $highlight_words = $qfh_ret[5]; $reply['first_id'] = $qfh_ret[6]; @@ -1142,7 +1142,7 @@ class Feeds extends Handler_Protected { return array("code" => 5, "message" => $fetch_last_error); } - if (mb_strpos($fetch_last_content_type, "html") !== FALSE && Feeds::is_html($contents)) { + if (mb_strpos($fetch_last_content_type, "html") !== false && Feeds::is_html($contents)) { $feedUrls = Feeds::get_feeds_from_html($url, $contents); if (count($feedUrls) == 0) { |