From a2b609272d4cf18ce18ba2a2eba326d1eab40afc Mon Sep 17 00:00:00 2001 From: Florian HENRY Date: Wed, 3 May 2023 21:38:47 +0200 Subject: [PATCH] chores: comments --- htdocs/core/class/commonobject.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index 16001f2d993..06abbf0a5a1 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -5535,7 +5535,7 @@ abstract class CommonObject // Set the public "share" key $setsharekey = false; if ($this->element == 'propal' || $this->element == 'proposal') { - if (!emptygetDolGlobalInt("PROPOSAL_ALLOW_ONLINESIGN")) { + if (!empty(getDolGlobalInt("PROPOSAL_ALLOW_ONLINESIGN"))) { $setsharekey = true; // feature to make online signature is not set or set to on (default) } if (!empty(getDolGlobalInt("PROPOSAL_ALLOW_EXTERNAL_DOWNLOAD"))) {