diff --git a/include/functions.php b/include/functions.php
index 89052420..df41c9eb 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -3734,7 +3734,6 @@ create_tooltip_container($torrent_tooltip, 500);
function get_username($id, $big = false, $link = true, $bold = true, $target = false, $bracket = false, $withtitle = false, $link_ext = "", $underline = false)
{
static $usernameArray = array();
- global $lang_functions;
$id = (int)$id;
if (func_num_args() == 1 && isset($usernameArray[$id])) { //One argument=is default display of username. Get it directly from static array if available
@@ -3813,7 +3812,7 @@ function get_username($id, $big = false, $link = true, $bold = true, $target = f
}
else
{
- $username = "".$lang_functions['text_orphaned']."";
+ $username = "".nexus_trans('nexus.user_not_exists')."";
$username = "" . ( $bracket == true ? "(" . $username . ")" : $username) . "";
}
if (func_num_args() == 1) { //One argument=is default display of username, save it in static array