aboutsummaryrefslogtreecommitdiffstats
path: root/mod/display.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/display.php')
-rw-r--r--mod/display.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/display.php b/mod/display.php
index 369161619..990d0b431 100644
--- a/mod/display.php
+++ b/mod/display.php
@@ -5,8 +5,8 @@ function display_content(&$a) {
$o = '<div id="live-display"></div>' . "\r\n";
- require_once('mod/profile.php');
- profile_init($a);
+ $nick = (($a->argc > 1) ? $a->argv[1] : '');
+ profile_load($a,$nick);
$item_id = (($a->argc > 2) ? intval($a->argv[2]) : 0);