Index: trunk/extensions/SocialProfile/UserStats/UserStatsClass.php |
— | — | @@ -778,7 +778,9 @@ |
779 | 779 | global $wgUserLevels; |
780 | 780 | $this->levels = $wgUserLevels; |
781 | 781 | $this->points = (int)str_replace( ',', '', $points ); |
782 | | - if ( $this->levels ) $this->setLevel(); |
| 782 | + if ( $this->levels ) { |
| 783 | + $this->setLevel(); |
| 784 | + } |
783 | 785 | } |
784 | 786 | |
785 | 787 | private function setLevel() { |