projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
830c718
)
Pman/Images.php
author
Alan Knowles
<alan@roojs.com>
Wed, 14 Dec 2011 14:33:10 +0000
(22:33 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 14 Dec 2011 14:33:10 +0000
(22:33 +0800)
Pman/Images.php
patch
|
blob
|
history
diff --git
a/Pman/Images.php
b/Pman/Images.php
index
d9422ad
..
81a1558
100644
(file)
--- 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);
}
}