 lib/weblib.php |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/weblib.php b/lib/weblib.php
index 5d74be9..ea2052c 100644
--- a/lib/weblib.php
+++ b/lib/weblib.php
@@ -4793,13 +4793,13 @@ function print_png($url, $sizex, $sizey, $return, $parameters='alt=""') {
     }
 
     if ($recentIE) {  // work around the HORRIBLE bug IE has with alpha transparencies
-        $output .= '<img src="'. $CFG->pixpath .'/spacer.gif" width="'. $sizex .'" height="'. $sizey .'"'.
+        $output = '<img src="'. $CFG->pixpath .'/spacer.gif" width="'. $sizex .'" height="'. $sizey .'"'.
                    ' class="png" style="width: '. $sizex .'px; height: '. $sizey .'px; '.
                    ' filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='.
                    "'$url', sizingMethod='scale') ".
-                   ' '. $parameters .' />';
+                   ' '. $parameters .'" />';
     } else {
-        $output .= '<img src="'. $url .'" style="width: '. $sizex .'px; height: '. $sizey .'px; '. $parameters .' />';
+        $output = '<img src="'. $url .'" style="width: '. $sizex .'px; height: '. $sizey .'px; '. $parameters .'" />';
     }
 
     if ($return) {
-- 
1.7.1
