diff --git a/htdocs/societe/soc.php b/htdocs/societe/soc.php index 181f95e43c6..f3f87ba6f79 100644 --- a/htdocs/societe/soc.php +++ b/htdocs/societe/soc.php @@ -2524,7 +2524,7 @@ else $var=true; - print $formfile->showdocuments('company', $object->id, $filedir, $urlsource, $genallowed, $delallowed, $object->modelpdf, 0, 0, 0, 28, 0, '', 0, '', $object->default_lang); + print $formfile->showdocuments('company', $object->id, $filedir, $urlsource, $genallowed, $delallowed, $object->modelpdf, 0, 0, 0, 28, 0, 'entity='.$object->entity, 0, '', $object->default_lang); print '