Fix: Error message was not visible
This commit is contained in:
parent
99b300f01b
commit
390214e265
@ -112,7 +112,7 @@ if ($action == 'add_paiement')
|
||||
|
||||
if (empty($datepaye))
|
||||
{
|
||||
$fiche_erreur_message = '<div class="error">'.$langs->trans('ErrorFieldRequired',$langs->transnoentities('Date')).'</div>';
|
||||
$mesg = '<div class="error">'.$langs->trans('ErrorFieldRequired',$langs->transnoentities('Date')).'</div>';
|
||||
$error++;
|
||||
}
|
||||
|
||||
@ -173,6 +173,7 @@ llxHeader();
|
||||
$html=new Form($db);
|
||||
|
||||
if ($mesg) print $mesg;
|
||||
if ($errmsg) print $errmsg;
|
||||
|
||||
if ($action == 'create' || $action == 'add_paiement')
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user