revert jimIcon stuff

This commit is contained in:
Andrew Dolgov 2021-02-08 08:33:37 +03:00
parent 3ad820e083
commit 5d0f65358f
1 changed files with 1 additions and 5 deletions

View File

@ -104,11 +104,7 @@ class jimIcon {
} }
// See if we can parse it (might be PNG format here) // See if we can parse it (might be PNG format here)
// (all this to hide one GD warning) $i = @imagecreatefromstring($data);
$er = error_reporting();
error_reporting(0);
$i = imagecreatefromstring($data);
error_reporting($er);
if ($i) { if ($i) {
imagesavealpha($i, true); imagesavealpha($i, true);