Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7.20
-
Fix Version/s: 4.7.23
-
Component/s: CiviCRM API, CiviEvent
-
Labels:
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Contributed Code
-
Verified?:Yes
Description
When Max Number of Participants event field is left empty then API get event call returns 1 (full) for this event instead of 0 (places available).
Below an example for the API call to test it:
civicrm_api3('Event', 'getsingle', array('return.is_full' => 1, 'id' =>EVENTID));