mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 14:15:56 +00:00
revert jimIcon stuff
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user