Images.php
authorAlan Knowles <alan@roojs.com>
Thu, 20 Sep 2012 07:56:41 +0000 (15:56 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 20 Sep 2012 07:56:41 +0000 (15:56 +0800)
Images.php

index fcae94e..cad9981 100644 (file)
@@ -340,7 +340,7 @@ class Pman_Core_Images extends Pman
         $attr_url = $attr[$attr_name];
         $umatch  = false;
         if(!preg_match('#/(Images|Images/Thumb/[a-z0-9]+|Images/Download)/([0-9]+)/(.*)$#', $attr_url, $umatch))  {
-            continue;
+            return $html;
         }
         $id = $umatch[2];
         $img = DB_DataObject::factory('Images');