Merge pull request #23904 from hregis/fix_php8_compatibility

FIX multicompany compatibility
This commit is contained in:
Laurent Destailleur 2023-02-16 21:36:09 +01:00 committed by GitHub
commit 396c7b5d33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;