Use proper check to verify if index is set in the Request
Fix #12759 Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
This commit is contained in:
parent
09f56abed6
commit
1b1d68293b
@ -4355,7 +4355,7 @@ function PMA_addUser(
|
||||
|
||||
// Copy the user group while copying a user
|
||||
$old_usergroup =
|
||||
$_REQUEST['old_usergroup'] ? $_REQUEST['old_usergroup'] : null;
|
||||
isset($_REQUEST['old_usergroup']) ? $_REQUEST['old_usergroup'] : null;
|
||||
PMA_setUserGroup($_REQUEST['username'], $old_usergroup);
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user