X-Git-Url: http://git.roojs.org/?p=Pman.Base;a=blobdiff_plain;f=Pman%2FImages.php;fp=Pman%2FImages.php;h=81a1558b2036e2033a4b5ef06348fb060bd2b112;hp=d9422adb88931af48014fd48a23e95f31b69043b;hb=ad6c9134a90b1c91fbe7353fb42e78051ea3363c;hpb=830c718f2c20c9535bda2d70b0038bfa25ec213f diff --git a/Pman/Images.php b/Pman/Images.php index d9422ad..81a1558 100644 --- a/Pman/Images.php +++ b/Pman/Images.php @@ -177,10 +177,7 @@ class Pman_Images extends Pman } - if (!in_array($this->size, array( - - - ))) { + if (!in_array($this->size, $sizes)) { die("invalid scale - ".$this->size); } }