1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 20:35:55 +00:00

jimIcon: hide GD warning

This commit is contained in:
Andrew Dolgov
2021-02-08 08:30:04 +03:00
parent 3f972f8fed
commit 479da5aa86
2 changed files with 10 additions and 1 deletions

View File

@@ -595,9 +595,13 @@ class RSSUtils {
Debug::log("checking favicon...", Debug::$LOG_VERBOSE);
user_error("before favicon", E_USER_WARNING);
self::check_feed_favicon($site_url, $feed);
$favicon_modified_new = file_exists($favicon_file) ? filemtime($favicon_file) : -1;
user_error("after favicon", E_USER_WARNING);
if ($favicon_modified_new > $favicon_modified)
$favicon_avg_color = '';