From 913010cff5d09311ca6c8bc7a139d5deee82ba38 Mon Sep 17 00:00:00 2001 From: Michael Save Date: Mon, 27 Aug 2012 21:50:15 +1000 Subject: minor consistency cleanup --- inc/image.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc/image.php') diff --git a/inc/image.php b/inc/image.php index 28242946..860dd4d8 100644 --- a/inc/image.php +++ b/inc/image.php @@ -34,7 +34,7 @@ class Image { error($config['error']['invalidimg']); } - $this->size = (object)Array('width' => $this->image->_width(), 'height' => $this->image->_height()); + $this->size = (object)array('width' => $this->image->_width(), 'height' => $this->image->_height()); if ($this->size->width < 1 || $this->size->height < 1) { $this->delete(); error($config['error']['invalidimg']); @@ -187,7 +187,7 @@ class ImageImagick extends ImageBase { $this->image = new Imagick(); $this->image->setFormat('gif'); - $keep_frames = Array(); + $keep_frames = array(); for ($i = 0; $i < $this->original->getNumberImages(); $i += floor($this->original->getNumberImages() / $config['thumb_keep_animation_frames'])) $keep_frames[] = $i; -- cgit v1.3