Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.1.1
-
Fix Version/s: 4.2.0
-
Component/s: CiviCRM API
-
Labels:None
Description
Per discussion on civicrm-api mailing list:
I noticed that a successful ("EntityTag","create") returns:
array( 'is_error' => 0,
'not_added' => 0,
'added' => 1,
'total_count' => 1,
);
While a successful ("GroupContact", "create") returns:
array( 'is_error' => 0,
'values' => array(
'not_added' => 0,
'added' => 1,
'total_count' => 1,
),
);
Notice the extra "values" array, and that it does not contain the entity created like in all other calls to the API. This should be adjusted to match the return from ("EntityTag", "create").