From 2967c2357e003927337b367636ab5c6e841bfb09 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Tue, 20 Mar 2012 11:59:18 +0100 Subject: [PATCH] Fix: compatibility with multicompany --- htdocs/categories/categorie.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/categories/categorie.php b/htdocs/categories/categorie.php index 1a159d03257..7304b441e25 100644 --- a/htdocs/categories/categorie.php +++ b/htdocs/categories/categorie.php @@ -65,6 +65,7 @@ if ($id || $ref) $elementtype = 'societe'; $objecttype = 'societe&categorie'; $objectid = isset($id)?$id:(isset($socid)?$socid:''); + $dbtablename = '&societe'; $fieldid = 'rowid'; } if ($type == 3) {