Update card.php
This commit is contained in:
parent
9f5a046e10
commit
4b7157e82a
1 changed files with 1 additions and 1 deletions
|
|
@ -538,7 +538,7 @@ if (empty($reshook)) {
|
|||
if (!empty($contact->socid)) {
|
||||
$sql .= ", fk_soc=".((int) $contact->socid);
|
||||
} elseif ($socid > 0) {
|
||||
$sql .= ", fk_soc=''";
|
||||
$sql .= ", fk_soc = null";
|
||||
setEventMessages($langs->trans("WarningUserDifferentContactSocid"), '', 'warnings'); // Add message if post socid != $contact->socid
|
||||
}
|
||||
$sql .= " WHERE rowid = ".((int) $object->id);
|
||||
|
|
|
|||
Loading…
Reference in a new issue