From f0f7a5f9589348e27fa66b1a02e90d669bfc6874 Mon Sep 17 00:00:00 2001 From: wn_ Date: Fri, 3 Feb 2023 00:45:04 +0000 Subject: Ensure custom favicon color detection happens. --- classes/rssutils.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'classes') diff --git a/classes/rssutils.php b/classes/rssutils.php index 561171d09..b3363954c 100755 --- a/classes/rssutils.php +++ b/classes/rssutils.php @@ -600,7 +600,8 @@ class RSSUtils { Debug::log("favicon: needs check: {$feed_obj->favicon_needs_check} is custom: {$feed_obj->favicon_is_custom} avg color: {$feed_obj->favicon_avg_color}", Debug::LOG_VERBOSE); - if ($feed_obj->favicon_needs_check || $force_refetch) { + if ($feed_obj->favicon_needs_check || $force_refetch + || ($feed_obj->favicon_is_custom && !$feed_obj->favicon_avg_color)) { // restrict update attempts to once per 12h $feed_obj->favicon_last_checked = Db::NOW(); -- cgit v1.2.3