Improved feedback to the user when he did not enter name in his vote

This commit is contained in:
Marcos García de La Fuente 2014-01-05 06:42:08 +01:00
parent 67077338a0
commit d76081d487

View File

@ -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');
} }
} }