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