diff options
author | Derek Allard <derek.allard@ellislab.com> | 2008-12-01 21:18:00 +0100 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2008-12-01 21:18:00 +0100 |
commit | d9c7f031cf525229238c1f8ab02a44436ee2c32e (patch) | |
tree | b7452e1b932ffbe9a20c723549c9d08d4cc12090 /system | |
parent | ef22efd7c7b0a9006d43ef207450768722815453 (diff) |
Removed a strict type check from the rotate() function of the Image Manipulation Class.
Diffstat (limited to 'system')
-rw-r--r-- | system/libraries/Image_lib.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Image_lib.php b/system/libraries/Image_lib.php index 16201ee9e..1b2d33de8 100644 --- a/system/libraries/Image_lib.php +++ b/system/libraries/Image_lib.php @@ -397,7 +397,7 @@ class CI_Image_lib { // Allowed rotation values $degs = array(90, 180, 270, 'vrt', 'hor'); - if ($this->rotation_angle == '' OR ! in_array($this->rotation_angle, $degs, TRUE)) + if ($this->rotation_angle == '' OR ! in_array($this->rotation_angle, $degs)) { $this->set_error('imglib_rotation_angle_required'); return FALSE; |