summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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
+?>