diff --git a/server_privileges.php b/server_privileges.php index 1547f7322..d10f8211b 100755 --- a/server_privileges.php +++ b/server_privileges.php @@ -1388,7 +1388,7 @@ if( $GLOBALS['is_ajax_request'] && !isset($_REQUEST['export']) && !isset($_REQUE }; $new_user_string .= ''."\n"; - $new_user_string .= '' . join(', ', PMA_extractPrivInfo()) . ''; //Fill in privileges here + $new_user_string .= '' . join(', ', PMA_extractPrivInfo('', true)) . ''; //Fill in privileges here $new_user_string .= ''; if((isset($Grant_priv) && $Grant_priv == 'Y')) { @@ -1416,7 +1416,7 @@ if( $GLOBALS['is_ajax_request'] && !isset($_REQUEST['export']) && !isset($_REQUE } if(isset($update_privs)) { - $new_privileges = join(', ', PMA_extractPrivInfo()); + $new_privileges = join(', ', PMA_extractPrivInfo('', true)); $extra_data['new_privileges'] = $new_privileges; }