diff --git a/htdocs/categories/categorie.php b/htdocs/categories/categorie.php
index 8cdb7f5eb81..ccc413a927d 100644
--- a/htdocs/categories/categorie.php
+++ b/htdocs/categories/categorie.php
@@ -186,8 +186,11 @@ if ($_GET["socid"])
if ($mesg) print($mesg);
- if ($soc->client) formCategory($db,$soc,$type,2);
- print '
';
+ if ($soc->client)
+ {
+ formCategory($db,$soc,$type,2);
+ print '
';
+ }
if ($soc->fournisseur) formCategory($db,$soc,$type,1);
}
else if ($_GET["id"] || $_GET["ref"])