FIX multicompany compatibility

This commit is contained in:
Regis Houssin 2023-02-14 10:53:59 +01:00
parent b8aad7d760
commit 89a2f7a0c1

View File

@ -120,7 +120,7 @@ function getOnlineSignatureUrl($mode, $type, $ref = '', $localorexternal = 1)
// For multicompany
if (!empty($out) && !empty($conf->multicompany->enabled)) {
$out .= "&entity=".$conf->entity; // Check the entity because we may have the same reference in several entities
$out .= "&entity=".$object->entity; // Check the entity because we may have the same reference in several entities
}
return $out;