diff --git a/classes/Tools.php b/classes/Tools.php index e7ca671..fe80d31 100644 --- a/classes/Tools.php +++ b/classes/Tools.php @@ -4489,11 +4489,10 @@ public static function parseFaviconSizeTag($html) break; case 'size': $dimension = explode('x', $components[1]); - if (count($dimension) !== 2) { - continue; + if (count($dimension) === 2) { + $favicon['width'] = $dimension[0]; + $favicon['height'] = $dimension[1]; } - $favicon['width'] = $dimension[0]; - $favicon['height'] = $dimension[1]; break; } }