summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/core/Common.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Common.php b/system/core/Common.php
index 2a804877d..e449dd2e0 100644
--- a/system/core/Common.php
+++ b/system/core/Common.php
@@ -490,7 +490,7 @@ if ( ! function_exists('set_status_header'))
}
else
{
- header($server_protocol ?: 'HTTP/1.1'.' '.$code.' '.$text, TRUE, $code);
+ header(($server_protocol ? $server_protocol : 'HTTP/1.1').' '.$code.' '.$text, TRUE, $code);
}
}
}