From 73321f081279e1bd105009d9d2a8f075d74cf646 Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Sat, 20 Aug 2022 11:16:54 +0000 Subject: [PATCH] Fixing style errors. --- htdocs/societe/class/api_contacts.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/societe/class/api_contacts.class.php b/htdocs/societe/class/api_contacts.class.php index bfb66f1c83c..4c7833c8b4e 100644 --- a/htdocs/societe/class/api_contacts.class.php +++ b/htdocs/societe/class/api_contacts.class.php @@ -96,7 +96,7 @@ class Contacts extends DolibarrApi if ($includeroles) { $this->contact->fetchRoles(); } - + if (isModEnabled('mailing')) { $this->contact->getNoEmail(); } @@ -144,7 +144,7 @@ class Contacts extends DolibarrApi if ($includeroles) { $this->contact->fetchRoles(); } - + if (isModEnabled('mailing')) { $this->contact->getNoEmail(); } @@ -330,7 +330,7 @@ class Contacts extends DolibarrApi } $this->contact->$field = $value; } - + if (isModEnabled('mailing') && !empty($this->contact->email)) { $this->contact->setNoEmail($this->contact->no_email); }