From 5738e422b5b8e4cf71559f4af39626240acde15f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 30 Oct 2020 09:49:49 +0300 Subject: [PATCH] update jimIcon (https://github.com/jimparis/jimIcon/pull/4) --- lib/jimIcon.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +?>