From ed5f53c8ab4bd0328ea56833db709746ca877d4a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 7 Sep 2011 15:14:40 +0000 Subject: [PATCH] Fix: duplicate message --- htdocs/webservices/admin/webservices.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/htdocs/webservices/admin/webservices.php b/htdocs/webservices/admin/webservices.php index 8ab85c8ee05..128b13106e6 100644 --- a/htdocs/webservices/admin/webservices.php +++ b/htdocs/webservices/admin/webservices.php @@ -2,7 +2,7 @@ /* Copyright (C) 2004 Rodolphe Quiedeville * Copyright (C) 2005-2010 Laurent Destailleur * Copyright (C) 2011 Juanjo Menent - * + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or @@ -92,7 +92,7 @@ print ""; print ''; -if ($mesg) print '
'.$mesg; +dol_htmloutput_mesg($mesg); print '

'; @@ -140,7 +140,6 @@ if ($conf->fournisseur->enabled) } print '
'; -dol_htmloutput_mesg($mesg); $db->close();