Index: trunk/extensions/SocialProfile/UserRelationship/UserRelationshipClass.php |
— | — | @@ -117,7 +117,7 @@ |
118 | 118 | if ( $user->getEmail() && $user->getIntOption( 'notifyfriendrequest', 1 ) ) { |
119 | 119 | $userLink = Title::makeTitle( NS_USER, $userFrom ); |
120 | 120 | $updateProfileLink = SpecialPage::getTitleFor( 'UpdateProfile' ); |
121 | | - if ( trim( $user->getRealName() ) { |
| 121 | + if ( trim( $user->getRealName() ) ) { |
122 | 122 | $name = $user->getRealName(); |
123 | 123 | } else { |
124 | 124 | $name = $user->getName(); |
— | — | @@ -161,7 +161,7 @@ |
162 | 162 | if ( $user->isEmailConfirmed() && $user->getIntOption( 'notifyfriendrequest', 1 ) ) { |
163 | 163 | $userLink = Title::makeTitle( NS_USER, $userFrom ); |
164 | 164 | $updateProfileLink = SpecialPage::getTitleFor( 'UpdateProfile' ); |
165 | | - if ( trim( $user->getRealName() ) { |
| 165 | + if ( trim( $user->getRealName() ) ) { |
166 | 166 | $name = $user->getRealName(); |
167 | 167 | } else { |
168 | 168 | $name = $user->getName(); |