summaryrefslogtreecommitdiffstats
path: root/system/core/Input.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2017-01-05 10:39:49 +0100
committerAndrey Andreev <narf@devilix.net>2017-01-05 10:39:49 +0100
commit7061e8f75f9b0e64864b2565573252dce00d3ea9 (patch)
treec8af886ad9860e34bc9ba19566e310638a097d0e /system/core/Input.php
parent806e014ec46f739398d7510b07be62593e0c3377 (diff)
[ci skip] || -> OR
Diffstat (limited to 'system/core/Input.php')
-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;
}