+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2016 |
+ | Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
if (!empty($eventFullResult) && is_int($eventFullResult)) {
$event[$event_id]['available_places'] = $eventFullResult;
}
+ elseif (is_null($eventFullResult)) {
+ return $event[$event_id]['is_full'] = 0;
+ }
else {
$event[$event_id]['available_places'] = 0;
}