Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.4.6, 4.5
-
Fix Version/s: 4.5.3
-
Component/s: CiviCRM API, Core CiviCRM
-
Labels:None
-
Documentation Required?:None
Description
ContactType.create for an update fails for any query.
Also effects managed entities which uses the same code.
e.g. -
/civicrm/ajax/rest?entity=ContactType&action=create&debug=1&sequential=1&json=1&id=3&is_active=0
(totten found) suspect code at:
https://github.com/civicrm/civicrm-core/blob/master/CRM/Contact/BAO/ContactType.php#L644