X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiMain.php;h=a7e3c1bd54fa2788ccf0444314aeb767979703cc;hb=65928f25c0cb485390d20b3da21ad89ba27808eb;hp=008015b8811b85db00f4bf9929e6f801ed23afee;hpb=6f7e982df6479e27c3b17f2deda8404ef55f50e6;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiMain.php b/includes/api/ApiMain.php index 008015b881..a7e3c1bd54 100644 --- a/includes/api/ApiMain.php +++ b/includes/api/ApiMain.php @@ -593,7 +593,7 @@ class ApiMain extends ApiBase { $this->setCacheMode( 'private' ); $response = $this->getRequest()->response(); - $headerStr = 'MediaWiki-API-Error: ' . join( ', ', $errCodes ); + $headerStr = 'MediaWiki-API-Error: ' . implode( ', ', $errCodes ); $response->header( $headerStr ); // Reset and print just the error message