diff --git a/server_privileges.php b/server_privileges.php
index abb65cbcc..c65030026 100644
--- a/server_privileges.php
+++ b/server_privileges.php
@@ -1411,7 +1411,7 @@ if( $GLOBALS['is_ajax_request'] && !isset($_REQUEST['export']) && !isset($_REQUE
$new_user_string .='';
- $new_user_string .= '
'.sprintf($link_edit, urlencode($username), urlencode($host), '', '' ).' | '."\n";
+ $new_user_string .= ''.sprintf($link_edit, urlencode($username), urlencode($hostname), '', '' ).' | '."\n";
$new_user_string .= ''.sprintf($link_export, urlencode($username), urlencode($hostname), (isset($initial) ? $initial : '')).' | '."\n";
$new_user_string .= '';