diff options
| author | ctrlcctrlv <wizardchan@hush.com> | 2013-08-18 22:51:09 +0000 |
|---|---|---|
| committer | ctrlcctrlv <wizardchan@hush.com> | 2013-08-18 22:51:09 +0000 |
| commit | affad5594e62b830b76ba141a59c7042ca42494e (patch) | |
| tree | bd98c5d1862746b1410b8379a7a999f6c36af827 /inc/display.php | |
| parent | a0d0d22a64c0b02e0cf959dcb78862f63e7a0c05 (diff) | |
Fix compatibility with php<5.4, sorry anachronos ;_;
Diffstat (limited to 'inc/display.php')
| -rw-r--r-- | inc/display.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/display.php b/inc/display.php index d16b12aa..2c7153bb 100644 --- a/inc/display.php +++ b/inc/display.php @@ -86,7 +86,7 @@ function error($message, $priority = true, $debug_stuff = false) { } // Return the bad request header, necessary for AJAX posts - http_response_code(400); + header($_SERVER['SERVER_PROTOCOL'] . ' 400 Bad Request'); die(Element('page.html', array( 'config' => $config, |
