Merge pull request #20343 from ptibogxiv/patch-7

Fix for multicompany on online sign url
This commit is contained in:
Laurent Destailleur 2022-03-15 19:32:56 +01:00 committed by GitHub
commit 2205469fab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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