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) {