From 1c6828e816c588d15e6e77d12f0f4b0780344c51 Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Fri, 25 Nov 2022 21:36:11 +0000 Subject: [PATCH] Fixing style errors. --- htdocs/contact/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/contact/card.php b/htdocs/contact/card.php index 84a84321a52..c5184a18454 100644 --- a/htdocs/contact/card.php +++ b/htdocs/contact/card.php @@ -102,7 +102,7 @@ $permissiontoadd = $user->rights->societe->contact->creer; if ($user->socid) { $socid = $user->socid; } -if($object->priv && $object->user_creation->id != $user->id){ +if ($object->priv && $object->user_creation->id != $user->id) { accessforbidden(); } $result = restrictedArea($user, 'contact', $id, 'socpeople&societe', '', '', 'rowid', 0); // If we create a contact with no company (shared contacts), no check on write permission