summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/core/Input.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Input.php b/system/core/Input.php
index 0585b42fe..70a3c61ee 100644
--- a/system/core/Input.php
+++ b/system/core/Input.php
@@ -343,7 +343,7 @@ class CI_Input {
$httponly = config_item('cookie_httponly');
}
- if ( ! is_numeric($expire) || $expire < 0)
+ if ( ! is_numeric($expire) OR $expire < 0)
{
$expire = 1;
}