From 59dcc818223bacb2638ca1a5c02171776e4ee2f9 Mon Sep 17 00:00:00 2001 From: Faustin Date: Thu, 29 Sep 2022 14:45:10 +0200 Subject: [PATCH] Online pdf contract signature --- 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 5c94e30495e..7f30878d566 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -5608,7 +5608,7 @@ abstract class CommonObject if ($this->element == 'product' && !empty($conf->global->PRODUCT_ALLOW_EXTERNAL_DOWNLOAD)) { $setsharekey = true; } - if ($this->element == 'contrat' && (!empty($conf->global->CONTRACT_ALLOW_EXTERNAL_DOWNLOAD) || !empty($conf->global->CONTRACT_ALLOW_ONLINESIGN))) { + if ($this->element == 'contrat' && !empty($conf->global->CONTRACT_ALLOW_EXTERNAL_DOWNLOAD)) { $setsharekey = true; } if ($this->element == 'supplier_proposal' && !empty($conf->global->SUPPLIER_PROPOSAL_ALLOW_EXTERNAL_DOWNLOAD)) {