summaryrefslogtreecommitdiffstats
path: root/system/libraries/Image_lib.php
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-09-28 19:13:38 +0200
committeradmin <devnull@localhost>2006-09-28 19:13:38 +0200
commitee54c112bfb488f833fa032758b817e1bb2c1d7d (patch)
tree0f88961293c374d2f6da29856466b75ce319e119 /system/libraries/Image_lib.php
parente721cc7c81af84dcabce2992fa693ce36b605a19 (diff)
Diffstat (limited to 'system/libraries/Image_lib.php')
-rw-r--r--system/libraries/Image_lib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Image_lib.php b/system/libraries/Image_lib.php
index 18e3253f7..ca1d7478b 100644
--- a/system/libraries/Image_lib.php
+++ b/system/libraries/Image_lib.php
@@ -398,7 +398,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))
+ if ($this->rotation_angle == '' OR ! in_array($this->rotation_angle, $degs, TRUE))
{
$this->set_error('imglib_rotation_angle_required');
return FALSE;