This commit is contained in:
Andrew Dolgov 2020-10-30 09:49:49 +03:00
parent 6e01d65c6e
commit 5738e422b5
1 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,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)
$i = @imagecreatefromstring($data); $i = @imagecreatefromstring($data);
if ($i) { if ($i) {
imagesavealpha($img, true); imagesavealpha($i, true);
return $i; return $i;
} }