diff --git a/lib/jimIcon.php b/lib/jimIcon.php index 940701bcc..d976c808b 100644 --- a/lib/jimIcon.php +++ b/lib/jimIcon.php @@ -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; } } -?> \ No newline at end of file +?>