summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-08-15 08:09:38 +0200
committerAndrey Andreev <narf@devilix.net>2015-08-15 08:09:38 +0200
commitd45180cb98cd987e2d5cce57a7965a87ee2aed7b (patch)
tree24639886a512c865b2ba7f3e6dfbdc69bc47c845 /system/core
parentec6a4034799d881b8b8d4c9134f487237719654c (diff)
Fix #4056
Diffstat (limited to 'system/core')
-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 e1319be8d..d896495e9 100644
--- a/system/core/Input.php
+++ b/system/core/Input.php
@@ -803,7 +803,7 @@ class CI_Input {
if ( ! isset($headers))
{
- empty($this->headers) OR $this->request_headers();
+ empty($this->headers) && $this->request_headers();
foreach ($this->headers as $key => $value)
{
$headers[strtolower($key)] = $value;