From 36dbde872dcd2c7c0d88b20f4898be504ff0d78a 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. --- 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); }