mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
FIX #30520 Creator user data displayed in the form after an error in the user creation form (#30521)
This commit is contained in:
parent
d8d93c8f22
commit
c7f8a8c06d
|
|
@ -75,7 +75,7 @@ $group = GETPOSTINT("group", 3);
|
|||
$cancel = GETPOST('cancel', 'alpha');
|
||||
$contextpage = GETPOST('contextpage', 'aZ') ? GETPOST('contextpage', 'aZ') : 'useracard'; // To manage different context of search
|
||||
|
||||
if (empty($id) && $action != 'create') {
|
||||
if (empty($id) && $action != 'add' && $action != 'create') {
|
||||
$id = $user->id;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user