From a201f54777ebba28720b6a8e50c6f4e89ff6ff85 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 4 Oct 2023 12:59:00 +0200 Subject: [PATCH] css --- htdocs/core/lib/signature.lib.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/core/lib/signature.lib.php b/htdocs/core/lib/signature.lib.php index 89ca50605eb..94734f92946 100644 --- a/htdocs/core/lib/signature.lib.php +++ b/htdocs/core/lib/signature.lib.php @@ -66,9 +66,9 @@ function getOnlineSignatureUrl($mode, $type, $ref = '', $localorexternal = 1, $o if (empty($obj)) { //to be compatible 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; }