r75439 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75438‎ | r75439 | r75440 >
Date:16:29, 26 October 2010
Author:ashley
Status:deferred
Tags:
Comment:
SocialProfile: add braces
Modified paths:
  • /trunk/extensions/SocialProfile/UserStats/UserStatsClass.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SocialProfile/UserStats/UserStatsClass.php
@@ -778,7 +778,9 @@
779779 global $wgUserLevels;
780780 $this->levels = $wgUserLevels;
781781 $this->points = (int)str_replace( ',', '', $points );
782 - if ( $this->levels ) $this->setLevel();
 782+ if ( $this->levels ) {
 783+ $this->setLevel();
 784+ }
783785 }
784786
785787 private function setLevel() {

Status & tagging log