1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 05:15:55 +00:00

revert jimIcon stuff

This commit is contained in:
Andrew Dolgov
2021-02-08 08:33:37 +03:00
parent 3ad820e083
commit 5d0f65358f

View File

@@ -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);