diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-08-27 21:50:15 +1000 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-08-27 21:50:15 +1000 |
| commit | 913010cff5d09311ca6c8bc7a139d5deee82ba38 (patch) | |
| tree | cbd95c15bde1c684d4e6a960e41a934c77764f31 /inc/image.php | |
| parent | eb146d92015e3bfe7b2fad68dd4b8c29542a31b3 (diff) | |
minor consistency cleanup
Diffstat (limited to 'inc/image.php')
| -rw-r--r-- | inc/image.php | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
