From eb376c87bd4c28a89250b4d6c156a1b20541fb60 Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Fri, 10 May 2024 21:08:32 -0500 Subject: [PATCH] Remove error suppression that is no longer necessary --- lib/Artwork.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Artwork.php b/lib/Artwork.php index af45573f..1f3a37f0 100644 --- a/lib/Artwork.php +++ b/lib/Artwork.php @@ -250,8 +250,7 @@ class Artwork{ protected function GetDimensions(): string{ $this->_Dimensions = ''; try{ - // Safe\getimagesize() emits a warning if the file doesn't exist - list($imageWidth, $imageHeight) = @getimagesize($this->ImageFsPath); + list($imageWidth, $imageHeight) = getimagesize($this->ImageFsPath); if($imageWidth && $imageHeight){ $this->_Dimensions = number_format($imageWidth) . ' × ' . number_format($imageHeight); }