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