r85263 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85262‎ | r85263 | r85264 >
Date:16:59, 3 April 2011
Author:ashley
Status:deferred
Tags:
Comment:
SocialProfile: fix Parse error: syntax error, unexpected '{' in ../extensions/SocialProfile/UserRelationship/UserRelationshipClass.php on line 120
Modified paths:
  • /trunk/extensions/SocialProfile/UserRelationship/UserRelationshipClass.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SocialProfile/UserRelationship/UserRelationshipClass.php
@@ -117,7 +117,7 @@
118118 if ( $user->getEmail() && $user->getIntOption( 'notifyfriendrequest', 1 ) ) {
119119 $userLink = Title::makeTitle( NS_USER, $userFrom );
120120 $updateProfileLink = SpecialPage::getTitleFor( 'UpdateProfile' );
121 - if ( trim( $user->getRealName() ) {
 121+ if ( trim( $user->getRealName() ) ) {
122122 $name = $user->getRealName();
123123 } else {
124124 $name = $user->getName();
@@ -161,7 +161,7 @@
162162 if ( $user->isEmailConfirmed() && $user->getIntOption( 'notifyfriendrequest', 1 ) ) {
163163 $userLink = Title::makeTitle( NS_USER, $userFrom );
164164 $updateProfileLink = SpecialPage::getTitleFor( 'UpdateProfile' );
165 - if ( trim( $user->getRealName() ) {
 165+ if ( trim( $user->getRealName() ) ) {
166166 $name = $user->getRealName();
167167 } else {
168168 $name = $user->getName();

Status & tagging log