Images.php
authorAlan Knowles <alan@roojs.com>
Wed, 23 May 2012 02:56:05 +0000 (10:56 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 23 May 2012 02:56:05 +0000 (10:56 +0800)
Images.php

index ead5bcb..1d02ac3 100644 (file)
@@ -328,7 +328,7 @@ class Pman_Core_Images extends Pman
         // finally replace the original TAG with the new version..
         
         $new_tag = str_replace(
-            $attr_name. '="'. $attr['src'] . '"',
+            $attr_name. '="'. $attr_url . '"',
             $attr_name .'="'. htmlspecialchars($img->URL($thumbsize, $provider, $baseURL)) . '"',
             $tag
         );