summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-10-30 09:49:49 +0300
committerAndrew Dolgov <[email protected]>2020-10-30 09:49:49 +0300
commit5738e422b5b8e4cf71559f4af39626240acde15f (patch)
tree53e88bda16ad7681e1c7960d581540bfd4921fb0 /lib
parent6e01d65c6ebde9a4960171c2168223ff8a0cb8da (diff)
update jimIcon (https://github.com/jimparis/jimIcon/pull/4)
Diffstat (limited to 'lib')
-rw-r--r--lib/jimIcon.php4
1 files 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
+?>