From 11f666fcfebbebc0c2642c21ce5f71d98ccc404a Mon Sep 17 00:00:00 2001 From: edward Date: Fri, 10 Nov 2017 10:42:05 +0800 Subject: [PATCH] Images.php --- Images.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2