Images.php
authorAlan Knowles <alan@roojs.com>
Wed, 23 May 2012 01:46:09 +0000 (09:46 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 23 May 2012 01:46:09 +0000 (09:46 +0800)
Images.php

index d660e26..0d99582 100644 (file)
@@ -235,9 +235,12 @@ class Pman_Core_Images extends Pman
             $id = $umatch[2];
             $type = explode('/', $umatch[1]);
             $thumbsize = false;
+            $new_thumbsize = false;
+            
             if (count($type) > 2 && $type[1] == 'Thumb') {
                 $thumbsize = $type[2];
             }
+            
             if (!empty($attr['width']) || !empty($attr['height']) )
             {
                 // no support for %...