FIX multicompany compatibility
This commit is contained in:
parent
b8aad7d760
commit
89a2f7a0c1
@ -120,7 +120,7 @@ function getOnlineSignatureUrl($mode, $type, $ref = '', $localorexternal = 1)
|
|||||||
|
|
||||||
// For multicompany
|
// For multicompany
|
||||||
if (!empty($out) && !empty($conf->multicompany->enabled)) {
|
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;
|
return $out;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user