diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 6514a65256..7caaf7c7eb 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -3370,7 +3370,7 @@ function get_username_string($mode, $user_id, $username, $username_colour = '', } else if (!$profile_url && $username_colour) { - $tpl = '{USERNAME}'; + $tpl = '{USERNAME}'; } else if ($profile_url && !$username_colour) { @@ -3378,7 +3378,7 @@ function get_username_string($mode, $user_id, $username, $username_colour = '', } else if ($profile_url && $username_colour) { - $tpl = '{USERNAME}'; + $tpl = '{USERNAME}'; } return str_replace(array('{PROFILE_URL}', '{USERNAME_COLOUR}', '{USERNAME}'), array($profile_url, $username_colour, $username), $tpl);