From 035d0e965e61348456c3bfa755a5ec69a01a4573 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sat, 17 Mar 2007 23:50:42 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20la=20description=20n'=E9tait=20pas=20pri?= =?UTF-8?q?se=20en=20compte=20avec=20fckeditor=20et=20IE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/categories/fiche.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/categories/fiche.php b/htdocs/categories/fiche.php index c5f424d54dc..af1f76cd8b7 100644 --- a/htdocs/categories/fiche.php +++ b/htdocs/categories/fiche.php @@ -68,11 +68,12 @@ if ($_POST["action"] == 'add' && $user->rights->categorie->creer) $categorie->error = $langs->trans("ErrorFieldRequired",$langs->transnoentities("Ref")); $_GET["action"] = 'create'; } - if (! $categorie->description) + else if (! $categorie->description) { $categorie->error = $langs->trans("ErrorFieldRequired",$langs->transnoentities("Description")); $_GET["action"] = 'create'; } + if ($categorie->error =="") { if ($categorie->create() > 0) @@ -127,8 +128,7 @@ if ($user->rights->categorie->creer) { print ''; } - print ''; - print ''; + print_fiche_titre($langs->trans("CreateCat")); print '';