mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fixing style errors.
This commit is contained in:
parent
3b9122bada
commit
9f5a046e10
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user