summaryrefslogtreecommitdiffstats
path: root/stats.php
diff options
context:
space:
mode:
Diffstat (limited to 'stats.php')
-rw-r--r--stats.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/stats.php b/stats.php
index 1e7f11f1..78c68903 100644
--- a/stats.php
+++ b/stats.php
@@ -25,7 +25,7 @@
require_once("modules/init.php");
//FIXME: Remove references
-$uid = $user->id;
+$uid = $GLOBALS['user']->username;
show_template('header');
show_menu_items('Stats');