Index: trunk/extensions/SocialProfile/UserStats/UserStatsClass.php |
— | — | @@ -407,6 +407,7 @@ |
408 | 408 | |
409 | 409 | if( $this->user_id == 0 ) return ''; |
410 | 410 | |
| 411 | + $stats_data = array(); |
411 | 412 | if( is_array( $wgUserLevels ) ){ |
412 | 413 | // Load points before update |
413 | 414 | $stats = new UserStats($this->user_id, $this->user_name); |
— | — | @@ -460,7 +461,6 @@ |
461 | 462 | } |
462 | 463 | $this->clearCache(); |
463 | 464 | } |
464 | | - // FIXME: Undefined variable: stats_data |
465 | 465 | return $stats_data; |
466 | 466 | } |
467 | 467 | } |