From 7061e8f75f9b0e64864b2565573252dce00d3ea9 Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Thu, 5 Jan 2017 11:39:49 +0200 Subject: [ci skip] || -> OR --- system/core/Input.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3-24-g4f1b