diff --git a/zmsentities/src/Zmsentities/Availability.php b/zmsentities/src/Zmsentities/Availability.php index 5d3512863..d5f45b85b 100644 --- a/zmsentities/src/Zmsentities/Availability.php +++ b/zmsentities/src/Zmsentities/Availability.php @@ -555,6 +555,7 @@ public function validateSlotTime(\DateTimeInterface $startDate, \DateTimeInterfa $slotTime = $this['slotTimeInMinutes']; $startTimestamp = $startDate->getTimestamp(); $endTimestamp = $endDate->getTimestamp(); + if ($slotTime === 0) { $errorList[] = [ 'type' => 'slotTime',