diff --git a/src/application/controllers/Appointments.php b/src/application/controllers/Appointments.php index 76f0ce6f..a292804a 100755 --- a/src/application/controllers/Appointments.php +++ b/src/application/controllers/Appointments.php @@ -626,7 +626,7 @@ class Appointments extends CI_Controller { do { - $provider_id = $this->_search_any_provider($service_id, $current_date->format('Y-m-d H:i:s')); + $provider_id = $this->_search_any_provider($service_id, $current_date->format('Y-m-d')); if ($provider_id) {