From: Brad Jorsch Date: Wed, 9 Mar 2016 17:43:21 +0000 (-0500) Subject: HttpFunctions: Log in English X-Git-Tag: 1.31.0-rc.0~7670 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/Main?a=commitdiff_plain;h=a92a23e8a24456c56957144808eb8d62a07a227c;p=lhc%2Fweb%2Fwiklou.git HttpFunctions: Log in English Bug: T127233 Change-Id: Ie61030a21f5a5f5e46452c1b6b15db594d741b71 --- diff --git a/includes/HttpFunctions.php b/includes/HttpFunctions.php index 600bd7969b..f980a93d56 100644 --- a/includes/HttpFunctions.php +++ b/includes/HttpFunctions.php @@ -80,7 +80,7 @@ class Http { } else { $errors = $status->getErrorsByType( 'error' ); $logger = LoggerFactory::getInstance( 'http' ); - $logger->warning( $status->getWikiText(), + $logger->warning( $status->getWikiText( null, null, 'en' ), [ 'error' => $errors, 'caller' => $caller, 'content' => $req->getContent() ] ); return false; }