forked from Wavyzz/dolibarr
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
This commit is contained in:
@@ -66,9 +66,9 @@ function getOnlineSignatureUrl($mode, $type, $ref = '', $localorexternal = 1, $o
|
||||
if (empty($obj)) {
|
||||
// For compatibility with 15.0 -> 19.0
|
||||
global $object;
|
||||
if (empty($object)) {
|
||||
$obj = new stdClass();
|
||||
} else {
|
||||
if (empty($object)) {
|
||||
$obj = new stdClass();
|
||||
} else {
|
||||
dol_syslog(__METHOD__." using global object is deprecated, please give obj as argument", LOG_WARNING);
|
||||
$obj = $object;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user