Improved feedback to the user when he did not enter name in his vote
This commit is contained in:
parent
67077338a0
commit
d76081d487
@ -146,7 +146,7 @@ if (isset($_POST["boutonp"]) || isset($_POST["boutonp_x"]))
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$err |= NAME_EMPTY;
|
setEventMessage($langs->trans("ErrorFieldRequired",$langs->transnoentitiesnoconv("Name")), 'errors');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user