Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.2.7
-
Fix Version/s: 4.3.0
-
Component/s: CiviCRM API
-
Labels:None
Description
API version and domain version have the same key which is problematic when doing a domain update from the api.
When doing the following, the civicrm_domain.version is updated and set to '3'.
$results = civicrm_api("Domain", "update", array(version => '3', 'id' => 1, 'config_backend' => ...);
Can we change the key to something like domain_version or otherwise forbid the change of domain version from the api.