projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6df59d0
)
Images.php
author
edward
<edward@roojs.com>
Fri, 10 Nov 2017 02:35:29 +0000
(10:35 +0800)
committer
edward
<edward@roojs.com>
Fri, 10 Nov 2017 02:35:29 +0000
(10:35 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
14917ac
..
a475fb3
100644
(file)
--- a/
Images.php
+++ b/
Images.php
@@
-302,7
+302,7
@@
class Pman_Core_Images extends Pman
$this->validateSize();
}
- if(!empty($this->page)){
+ if(!empty($this->page)
&& $this->page * 1 > 0
){
$x->convert( $this->as_mimetype, $this->size, 0, $this->page);
} else {
$x->convert( $this->as_mimetype, $this->size);