summaryrefslogtreecommitdiff
path: root/includes/WikiPage.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/WikiPage.php')
-rw-r--r--includes/WikiPage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/WikiPage.php b/includes/WikiPage.php
index 9a0d9714..ae6e4408 100644
--- a/includes/WikiPage.php
+++ b/includes/WikiPage.php
@@ -665,7 +665,7 @@ class WikiPage extends Page {
if ( $dbr->implicitGroupby() ) {
$realNameField = 'user_real_name';
} else {
- $realNameField = 'FIRST(user_real_name) AS user_real_name';
+ $realNameField = 'MIN(user_real_name) AS user_real_name';
}
$tables = array( 'revision', 'user' );