Fix for multicompany on online sign url

This commit is contained in:
ptibogxiv 2022-03-13 15:31:37 +01:00 committed by GitHub
parent 8410298c7e
commit b1197d4f4e
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;
} }