diff --git a/htdocs/opensurvey/public/studs.php b/htdocs/opensurvey/public/studs.php index df0ae20394a..1cdcefd6c2b 100644 --- a/htdocs/opensurvey/public/studs.php +++ b/htdocs/opensurvey/public/studs.php @@ -146,7 +146,7 @@ if (isset($_POST["boutonp"]) || isset($_POST["boutonp_x"])) } else { - $err |= NAME_EMPTY; + setEventMessage($langs->trans("ErrorFieldRequired",$langs->transnoentitiesnoconv("Name")), 'errors'); } }