chores: comments

This commit is contained in:
Florian HENRY
2023-05-03 21:38:47 +02:00
parent bfe857c31b
commit a2b609272d

View File

@@ -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"))) {