From: Krinkle Date: Sat, 4 Jun 2011 14:04:33 +0000 (+0000) Subject: Fixing fixme in r87164 (wrong if check) X-Git-Tag: 1.31.0-rc.0~29722 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=7459814ff18760b0862211a4563658e1900c06aa;p=lhc%2Fweb%2Fwiklou.git Fixing fixme in r87164 (wrong if check) --- diff --git a/includes/User.php b/includes/User.php index 922f40f43a..0ce2866655 100644 --- a/includes/User.php +++ b/includes/User.php @@ -1029,7 +1029,7 @@ class User { $all = false; } - if ( isset( $row->user_name ) ) { + if ( isset( $row->user_real_name ) ) { $this->mRealName = $row->user_real_name; $this->setItemLoaded( 'realname' ); } else {