mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 06:24:08 +00:00
Fix I0e802a47: Don't try to send dieWithError error codes as integers
Bug: T152429 Change-Id: If882b14adc945ca49e51a912a676aee0be9c9fec
This commit is contained in:
parent
96b8d35bff
commit
5d5645565f
|
@ -116,7 +116,7 @@ class ApiVisualEditor extends ApiBase {
|
|||
} else { // error null, code not 200
|
||||
$this->dieWithError(
|
||||
[ 'apierror-visualeditor-docserver-http', $response['code'] ],
|
||||
$response['code']
|
||||
(string) $response['code']
|
||||
);
|
||||
}
|
||||
return $response['body'];
|
||||
|
|
Loading…
Reference in a new issue