From 9f5a046e10e9a8def4469ada4e046cd85dc760d3 Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Fri, 25 Nov 2022 21:46:25 +0000 Subject: [PATCH] Fixing style errors. --- htdocs/user/card.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/user/card.php b/htdocs/user/card.php index 7f8959975f6..d71922cbfd5 100644 --- a/htdocs/user/card.php +++ b/htdocs/user/card.php @@ -537,9 +537,9 @@ if (empty($reshook)) { $sql .= " SET fk_socpeople=".((int) $contactid); if (!empty($contact->socid)) { $sql .= ", fk_soc=".((int) $contact->socid); - } elseif($socid > 0){ + } elseif ($socid > 0) { $sql .= ", fk_soc=''"; - setEventMessages($langs->trans("WarningUserDifferentContactSocid"),'','warnings'); // Add message if post socid != $contact->socid + setEventMessages($langs->trans("WarningUserDifferentContactSocid"), '', 'warnings'); // Add message if post socid != $contact->socid } $sql .= " WHERE rowid = ".((int) $object->id); } elseif ($socid > 0) {