From b8e1fc33db9e58437b7fe2a8f7acd92a9c46a1a8 Mon Sep 17 00:00:00 2001 From: oxteam Date: Fri, 11 May 2018 14:08:55 +0200 Subject: [PATCH] Fix date format when calling _search_any_provider --- 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 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) {