diff options
Diffstat (limited to 'includes/AjaxResponse.php')
-rw-r--r-- | includes/AjaxResponse.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/AjaxResponse.php b/includes/AjaxResponse.php index 8e9f490fa299..b3a6573ba602 100644 --- a/includes/AjaxResponse.php +++ b/includes/AjaxResponse.php @@ -159,7 +159,7 @@ class AjaxResponse { function sendHeaders() { if ( $this->mResponseCode ) { $n = preg_replace( '/^ *(\d+)/', '\1', $this->mResponseCode ); - header( "Status: " . $this->mResponseCode, true, (int)$n ); + HttpStatus::header( $n ); } header ( "Content-Type: " . $this->mContentType ); |