X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FAjaxResponse.php;h=b3a6573ba6025377d014fe4df0a26e91b31e80c0;hb=b305d72af57101d580783d639e0cd88f2a049dae;hp=8e9f490fa29957d0d4376acafdfb553c887dc7b9;hpb=04d7d46b1d39340121698ba76fd8e433f60929c9;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/AjaxResponse.php b/includes/AjaxResponse.php index 8e9f490fa2..b3a6573ba6 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 );