diff options
author | Andrew Dolgov <[email protected]> | 2021-02-08 08:33:37 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-08 08:33:37 +0300 |
commit | 5d0f65358fc233dd3fde24d60cbfc74c846af7a6 (patch) | |
tree | 99225c9f702bb6ba4ec4d0b46433b8d00ca0aa88 /lib | |
parent | 3ad820e0834573e194c31e6d68be410ef7c85d60 (diff) |
revert jimIcon stuff
Diffstat (limited to 'lib')
-rw-r--r-- | lib/jimIcon.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/jimIcon.php b/lib/jimIcon.php index cee1a7bad..f8e533f90 100644 --- a/lib/jimIcon.php +++ b/lib/jimIcon.php @@ -104,11 +104,7 @@ class jimIcon { } // See if we can parse it (might be PNG format here) - // (all this to hide one GD warning) - $er = error_reporting(); - error_reporting(0); - $i = imagecreatefromstring($data); - error_reporting($er); + $i = @imagecreatefromstring($data); if ($i) { imagesavealpha($i, true); |