From d60193c9264412d6d73ec6f391a39bdc66a7453a Mon Sep 17 00:00:00 2001 From: alext Date: Tue, 6 Feb 2018 15:35:10 +0100 Subject: [PATCH] Corrected availabilities generation in booking page. --- src/application/controllers/Appointments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/application/controllers/Appointments.php b/src/application/controllers/Appointments.php index c854b41e..d0853425 100755 --- a/src/application/controllers/Appointments.php +++ b/src/application/controllers/Appointments.php @@ -913,7 +913,7 @@ class Appointments extends CI_Controller { $periods[] = [ '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)