Merge pull request #22788 from atm-gauthier/16.0_fix_missing_var_for_online_signature

FIX : Missing $object for online signature link build
This commit is contained in:
Laurent Destailleur 2022-11-09 16:46:33 +01:00 committed by GitHub
commit 3e7548a2e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@ function showOnlineSignatureUrl($type, $ref)
*/ */
function getOnlineSignatureUrl($mode, $type, $ref = '', $localorexternal = 1) function getOnlineSignatureUrl($mode, $type, $ref = '', $localorexternal = 1)
{ {
global $conf, $db, $langs, $dolibarr_main_url_root; global $conf, $object, $dolibarr_main_url_root;
$ref = str_replace(' ', '', $ref); $ref = str_replace(' ', '', $ref);
$out = ''; $out = '';