From 862352a9dd8f69b97977af507b4ba74dc481527f Mon Sep 17 00:00:00 2001 From: francescbassas Date: Tue, 27 Jun 2017 13:02:43 +0200 Subject: [PATCH] Code style --- api/v3/Event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v3/Event.php b/api/v3/Event.php index 5cae5b0574..0126280a96 100644 --- a/api/v3/Event.php +++ b/api/v3/Event.php @@ -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 { -- 2.25.1