aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorPayBas <contact@paybas.com>2014-06-05 01:31:19 +0200
committerPayBas <contact@paybas.com>2014-06-25 14:18:56 +0200
commita540cdc3b2efd6fdb10f6c7ce9de43ac04ad2897 (patch)
treebffda6057ad2dc8af7ec2184ce40a978bed8a57b /phpBB/includes/functions.php
parentd083f292445503a13fa9e9a0f1e86eee05358c18 (diff)
downloadforums-a540cdc3b2efd6fdb10f6c7ce9de43ac04ad2897.tar
forums-a540cdc3b2efd6fdb10f6c7ce9de43ac04ad2897.tar.gz
forums-a540cdc3b2efd6fdb10f6c7ce9de43ac04ad2897.tar.bz2
forums-a540cdc3b2efd6fdb10f6c7ce9de43ac04ad2897.tar.xz
forums-a540cdc3b2efd6fdb10f6c7ce9de43ac04ad2897.zip
[ticket/12662] Initial setup
PHPBB3-12662
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 32acb0c9ff..108f6d5d26 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -4881,6 +4881,7 @@ function page_header($page_title = '', $display_online_list = false, $item_id =
'PRIVATE_MESSAGE_COUNT' => (!empty($user->data['user_unread_privmsg'])) ? $user->data['user_unread_privmsg'] : 0,
'CURRENT_USER_AVATAR' => phpbb_get_user_avatar($user->data),
+ 'CURRENT_USERNAME_CLEAN' => get_username_string('no_profile', $user->data['user_id'], $user->data['username'], $user->data['user_colour']),
'CURRENT_USERNAME_FULL' => get_username_string('full', $user->data['user_id'], $user->data['username'], $user->data['user_colour']),
'UNREAD_NOTIFICATIONS_COUNT' => ($notifications !== false) ? $notifications['unread_count'] : '',
'NOTIFICATIONS_COUNT' => ($notifications !== false) ? $notifications['unread_count'] : '',