Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Duplicate
-
Affects Version/s: 4.7.0
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Contributed Code
-
Verified?:No
Description
Updating activity to clear assignee or target contacts lead to DB error.
$updateParams = array( 'id' => <activity_id>, 'assignee_contact_id' => array(), ); $activity = civicrm_api3('activity', 'create', $updateParams);