aboutsummaryrefslogtreecommitdiffstats
path: root/includes/api/ApiComparePages.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/api/ApiComparePages.php')
-rw-r--r--includes/api/ApiComparePages.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/api/ApiComparePages.php b/includes/api/ApiComparePages.php
index cb77e7c1ac7c..59f8555bf2b2 100644
--- a/includes/api/ApiComparePages.php
+++ b/includes/api/ApiComparePages.php
@@ -53,9 +53,9 @@ class ApiComparePages extends ApiBase {
$vals['torevid'] = $rev2;
$difftext = $de->getDiffBody();
-
+
if ( $difftext === false ) {
- $this->dieUsage( 'The diff cannot be retrieved. ' .
+ $this->dieUsage( 'The diff cannot be retrieved. ' .
'Maybe one or both revisions do not exist or you do not have permission to view them.', 'baddiff' );
} else {
ApiResult::setContent( $vals, $difftext );