From 390214e2655b173e47e30d237519967fe2169205 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 5 Mar 2011 01:08:44 +0000 Subject: [PATCH] Fix: Error message was not visible --- htdocs/fourn/facture/paiement.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/fourn/facture/paiement.php b/htdocs/fourn/facture/paiement.php index fb0e3c6ffc9..45b4e963f2e 100644 --- a/htdocs/fourn/facture/paiement.php +++ b/htdocs/fourn/facture/paiement.php @@ -112,7 +112,7 @@ if ($action == 'add_paiement') if (empty($datepaye)) { - $fiche_erreur_message = '
'.$langs->trans('ErrorFieldRequired',$langs->transnoentities('Date')).'
'; + $mesg = '
'.$langs->trans('ErrorFieldRequired',$langs->transnoentities('Date')).'
'; $error++; } @@ -173,6 +173,7 @@ llxHeader(); $html=new Form($db); if ($mesg) print $mesg; +if ($errmsg) print $errmsg; if ($action == 'create' || $action == 'add_paiement') {