summaryrefslogtreecommitdiffstats
path: root/system/core/Common.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/core/Common.php')
-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 09b73ef2e..2a804877d 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.' '.$code.' '.$text, TRUE, $code);
+ header($server_protocol ?: 'HTTP/1.1'.' '.$code.' '.$text, TRUE, $code);
}
}
}