diff --git a/server_privileges.php b/server_privileges.php index 51127ced1..e43614360 100644 --- a/server_privileges.php +++ b/server_privileges.php @@ -890,6 +890,7 @@ if (isset($_REQUEST['adduser_submit']) || isset($_REQUEST['change_copy'])) { $message = PMA_Message::error(__('The user %s already exists!')); $message->addParam('[i]\'' . $username . '\'@\'' . $hostname . '\'[/i]'); $_REQUEST['adduser'] = true; + $_add_user_error = true; } else { $create_user_real = 'CREATE USER \'' . PMA_sqlAddslashes($username) . '\'@\'' . PMA_sqlAddslashes($hostname) . '\''; @@ -1385,7 +1386,7 @@ $link_export = '