summaryrefslogtreecommitdiff
path: root/includes/WikiPage.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2012-03-22 21:04:56 +0100
committerPierre Schmitz <pierre@archlinux.de>2012-03-22 21:04:56 +0100
commit81be3ba123fa26c29ab157288530ffaec9d0930f (patch)
tree8054ad0536e27b20838d85a05884ca47752537dc /includes/WikiPage.php
parentba0fc4fa20067528effd4802e53ceeb959640825 (diff)
Update to MediaWiki 1.18.2
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' );