From 9919f76de27ad45113e091b5da80e58024b3cf2c Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 18 Mar 2011 16:44:55 +0000 Subject: [PATCH] Works on enhancement of "ok","warning" or "error" message with jQuery jnotify --- htdocs/categories/fiche.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/htdocs/categories/fiche.php b/htdocs/categories/fiche.php index aac7b55eea6..eaf3687afe3 100644 --- a/htdocs/categories/fiche.php +++ b/htdocs/categories/fiche.php @@ -212,12 +212,7 @@ if ($user->rights->categorie->creer) print_fiche_titre($langs->trans("CreateCat")); - if ($categorie->error) - { - print '
'; - print $categorie->error; - print '
'; - } + dol_htmloutput_errors($categorie->error); print '';