Code style
[civicrm-core.git] / api / v3 / Event.php
index 5cae5b057404e3055ffe905e9abd383199464fe4..0126280a9602de25bd8de9990cc3eaeecbaf4fd9 100644 (file)
@@ -208,7 +208,7 @@ function _civicrm_api3_event_getisfull(&$event, $event_id) {
   if (!empty($eventFullResult) && is_int($eventFullResult)) {
     $event[$event_id]['available_places'] = $eventFullResult;
   }
-  else if (is_null($eventFullResult)) {
+  elseif (is_null($eventFullResult)) {
     return $event[$event_id]['is_full'] = 0;
   }
   else {