forked from Wavyzz/dolibarr
Merge pull request #8854 from glu000/develop
FIX: It's not possible to remove a contact which is assigned to an event #8852
This commit is contained in:
@@ -413,6 +413,7 @@ if ($action == 'update')
|
||||
$object->location = GETPOST('location');
|
||||
$object->socid = GETPOST("socid");
|
||||
$socpeopleassigned = GETPOST("socpeopleassigned",'array');
|
||||
$object->socpeopleassigned = array();
|
||||
foreach ($socpeopleassigned as $cid) $object->socpeopleassigned[$cid] = array('id' => $cid);
|
||||
$object->contactid = GETPOST("contactid",'int');
|
||||
$object->fk_project = GETPOST("projectid",'int');
|
||||
|
||||
Reference in New Issue
Block a user