diff --git a/src/system/helper/valid.php b/src/system/helper/valid.php index e7ad6d7..fa96b19 100644 --- a/src/system/helper/valid.php +++ b/src/system/helper/valid.php @@ -39,7 +39,7 @@ class Valid { 'data:image/webp;base64,', ], '', $string); - if (self::base64($string) && imagecreatefromstring(base64_decode($string))) { + if (self::base64($string) && @imagecreatefromstring(base64_decode($string))) { return true;