mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 13:35:56 +00:00
replace FALSE with false so that static analyzer shuts up about it
This commit is contained in:
@@ -54,7 +54,7 @@ class Article extends Handler_Protected {
|
||||
if (!$title) $title = $url;
|
||||
if (!$title && !$url) return false;
|
||||
|
||||
if (filter_var($url, FILTER_VALIDATE_URL) === FALSE) return false;
|
||||
if (filter_var($url, FILTER_VALIDATE_URL) === false) return false;
|
||||
|
||||
$pdo = Db::pdo();
|
||||
|
||||
@@ -757,7 +757,7 @@ class Article extends Handler_Protected {
|
||||
|
||||
if (!$article_image)
|
||||
foreach ($enclosures as $enc) {
|
||||
if (strpos($enc["content_type"], "image/") !== FALSE) {
|
||||
if (strpos($enc["content_type"], "image/") !== false) {
|
||||
$article_image = $enc["content_url"];
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user