Corrected availabilities generation in booking page.

This commit is contained in:
alext 2018-02-06 15:35:10 +01:00
parent 950866d90f
commit d60193c926

View file

@ -913,7 +913,7 @@ class Appointments extends CI_Controller {
$periods[] = [ $periods[] = [
'start' => $appointment_end->format('H:i'), 'start' => $appointment_end->format('H:i'),
'end' => $appointment_end->format('H:i') 'end' => $period_end->format('H:i')
]; ];
} }
else if ($appointment_start == $period_start && $appointment_end == $period_end) else if ($appointment_start == $period_start && $appointment_end == $period_end)