From b99d8c49f50e0879ff128238aba482453014176a Mon Sep 17 00:00:00 2001 From: oxteam Date: Fri, 11 May 2018 19:54:12 +0200 Subject: [PATCH] Use $selected_date instead of its equivalent coming from the POST (#469). (cherry picked from commit 36dbde8) --- 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 a292804a..08d71836 100755 --- a/src/application/controllers/Appointments.php +++ b/src/application/controllers/Appointments.php @@ -1016,7 +1016,7 @@ class Appointments extends CI_Controller { if ($service['attendants_number'] > 1) { - $available_hours = $this->_get_multiple_attendants_hours($this->input->post('selected_date'), $service, + $available_hours = $this->_get_multiple_attendants_hours($selected_date, $service, $provider); }