2
0
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:
Laurent Destailleur
2018-05-25 10:14:05 +02:00
committed by GitHub

View File

@@ -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');