diff options
author | Andrew Dolgov <[email protected]> | 2018-11-03 15:08:43 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-11-03 15:08:43 +0300 |
commit | 3a0292303e453f38204279b5d1c978a4b9c367e9 (patch) | |
tree | 2636ec8e8fcb32cd678084d2907bab273bfd3c60 /classes/feeds.php | |
parent | 3b9f982ec6398312ba52cc807c53ce8b78fbc649 (diff) |
php: remove trailing whitespaces
Diffstat (limited to 'classes/feeds.php')
-rwxr-xr-x | classes/feeds.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/feeds.php b/classes/feeds.php index 6bf14f45e..90797270e 100755 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -173,7 +173,7 @@ class Feeds extends Handler_Protected { $method_split = explode(":", $method); if ($method == "ForceUpdate" && $feed > 0 && is_numeric($feed)) { - $sth = $this->pdo->prepare("UPDATE ttrss_feeds + $sth = $this->pdo->prepare("UPDATE ttrss_feeds SET last_updated = '1970-01-01', last_update_started = '1970-01-01' WHERE id = ?"); $sth->execute([$feed]); @@ -527,7 +527,7 @@ class Feeds extends Handler_Protected { $tmp_content .= "<span id=\"RTITLE-$id\" onclick=\"return cdmClicked(event, $id);\" data-article-id=\"$id\" - class=\"titleWrap hlMenuAttach $hlc_suffix\"> + class=\"titleWrap hlMenuAttach $hlc_suffix\"> <a class=\"title $hlc_suffix\" title=\"".htmlspecialchars($line["title"])."\" target=\"_blank\" rel=\"noopener noreferrer\" href=\"". @@ -1471,7 +1471,7 @@ class Feeds extends Handler_Protected { foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_SUBSCRIBE_FEED) as $plugin) { $contents = $plugin->hook_subscribe_feed($contents, $url, $auth_login, $auth_pass); } - + if (!$contents) { if (preg_match("/cloudflare\.com/", $fetch_last_error_content)) { $fetch_last_error .= " (feed behind Cloudflare)"; |