From f465c7feb49d2df42da009e732c1427a704f47f9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Mon, 29 Aug 2016 16:02:04 +0200 Subject: [PATCH] ApiResult: Remove double space in error message Change-Id: I5888d617ab9aebe5ae1fe4da6873639a81f60fc3 --- includes/api/ApiResult.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiResult.php b/includes/api/ApiResult.php index 00846f52ed..e308ba4398 100644 --- a/includes/api/ApiResult.php +++ b/includes/api/ApiResult.php @@ -415,7 +415,7 @@ class ApiResult implements ApiSerializable { if ( $this->maxSize !== false && $newsize > $this->maxSize ) { /// @todo Add i18n message when replacing calls to ->setWarning() $msg = new ApiRawMessage( 'This result was truncated because it would otherwise ' . - ' be larger than the limit of $1 bytes', 'truncatedresult' ); + 'be larger than the limit of $1 bytes', 'truncatedresult' ); $msg->numParams( $this->maxSize ); $this->errorFormatter->addWarning( 'result', $msg ); return false; -- 2.20.1