Merge pull request #23904 from hregis/fix_php8_compatibility
FIX multicompany compatibility
This commit is contained in:
commit
396c7b5d33
@ -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