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

index 71883b6..2971387 100644 (file)
@@ -279,7 +279,7 @@ class Pman_Core_Images extends Pman
             // finally replace the original TAG with the new version..
             $old_src_tag = 'src="'. $attr[src] . '"';
             $new_img = str_replace(
-                'src="'. $attr[src] . '"',
+                'src="'. $attr['src'] . '"',
                 'src="'. htmlspecialchars($imgObj->URL($new_thumbsize , $provider, $baseURL)) . '"',
                 $img
             );