From: edward Date: Fri, 10 Nov 2017 02:42:05 +0000 (+0800) Subject: Images.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=11f666fcfebbebc0c2642c21ce5f71d98ccc404a Images.php --- diff --git a/Images.php b/Images.php index 9635b828..474eb64f 100644 --- 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);