Merge pull request #17157 from DorianVabre/fix_member_public_page
fix: new member public page firstname test
This commit is contained in:
commit
b37cf2eb1c
1 changed files with 1 additions and 1 deletions
|
|
@ -218,7 +218,7 @@ if (empty($reshook) && $action == 'add') {
|
|||
$error++;
|
||||
$errmsg .= $langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("Lastname"))."<br>\n";
|
||||
}
|
||||
if (GETPOST("firstname")) {
|
||||
if (!GETPOST("firstname")) {
|
||||
$error++;
|
||||
$errmsg .= $langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("Firstname"))."<br>\n";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue