From fca35cb8b0d1201a3595572e7b5d6080978bd39b Mon Sep 17 00:00:00 2001 From: simnandez Date: Tue, 24 Dec 2013 13:39:58 +0100 Subject: [PATCH] Fix: Bad url destination into category remove --- htdocs/categories/categorie.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/categories/categorie.php b/htdocs/categories/categorie.php index 6aa063a9b4e..1750097b120 100644 --- a/htdocs/categories/categorie.php +++ b/htdocs/categories/categorie.php @@ -379,7 +379,7 @@ else if ($id || $ref) dol_fiche_end(); - formCategory($db,$product,0,($user->rights->produit->creer || $user->rights->service->creer)); + formCategory($db,$product,0,$socid,($user->rights->produit->creer || $user->rights->service->creer)); } if ($type == 3) @@ -604,7 +604,7 @@ else if ($id || $ref) dol_fiche_end(); - formCategory($db,$object,4,$user->rights->societe->creer); + formCategory($db,$object,4,$socid, $user->rights->societe->creer); } }