From 426d948bb3bd28592f309deeb83cf4718faa4c1c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 20 May 2009 11:20:49 +0000 Subject: [PATCH] Add error management --- htdocs/comm/mailing/fiche.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/htdocs/comm/mailing/fiche.php b/htdocs/comm/mailing/fiche.php index 673656454b0..a11fa19dadb 100644 --- a/htdocs/comm/mailing/fiche.php +++ b/htdocs/comm/mailing/fiche.php @@ -751,7 +751,7 @@ else /* * Mailing en mode edition */ - + print '
'."\n"; print ''; print ''; @@ -799,6 +799,10 @@ else print ""; } } + else + { + dol_print_error($db,$mil->error); + } }