Ensure custom favicon color detection happens.

This commit is contained in:
wn_
2023-02-03 00:45:04 +00:00
parent c30b24d09f
commit f0f7a5f958

View File

@@ -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();