Skip to content

Commit

Permalink
Fixed a bug where COM_handleError didn't send out the correct charset…
Browse files Browse the repository at this point in the history
… (issue #645).
  • Loading branch information
mystralkk committed Jan 10, 2016
1 parent 1dd7afc commit 7405e88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions public_html/lib-common.php
Original file line number Diff line number Diff line change
Expand Up @@ -8266,6 +8266,7 @@ function COM_handleError($errno, $errstr, $errfile='', $errline=0, $errcontext='

header('HTTP/1.1 500 Internal Server Error');
header('Status: 500 Internal Server Error');
header('Content-Type: text/html; charset=' . COM_getCharset());

$title = 'An Error Occurred';
if (!empty($_CONF['site_name'])) {
Expand Down

0 comments on commit 7405e88

Please sign in to comment.