forked from Wavyzz/dolibarr
Update functions.lib.php
This commit is contained in:
@@ -6317,6 +6317,8 @@ function getCommonSubstitutionArray($outputlangs, $onlykey = 0, $exclude = null,
|
||||
$substitutionarray['__DIRECTDOWNLOAD_URL_INVOICE__'] = $object->getLastMainDocLink($object->element);
|
||||
}
|
||||
else $substitutionarray['__DIRECTDOWNLOAD_URL_INVOICE__'] = '';
|
||||
|
||||
$substitutionarray['__URL__'] = DOL_MAIN_URL_ROOT . "/".$object->element . "/card.php?id=" . $object->id;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user