Fix: Error message was not visible

This commit is contained in:
Laurent Destailleur 2011-03-05 01:08:44 +00:00
parent 99b300f01b
commit 390214e265

View File

@ -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')
{