From 25fdd5636d42b90371f223267408f1a954c7a5dd Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Thu, 12 Nov 2020 14:15:38 +0200 Subject: [PATCH] Corrected wrong parameters order. --- application/controllers/Appointments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/Appointments.php b/application/controllers/Appointments.php index 5a6c117d..d948afdb 100755 --- a/application/controllers/Appointments.php +++ b/application/controllers/Appointments.php @@ -365,7 +365,7 @@ class Appointments extends CI_Controller { // that will provide the requested service. if ($provider_id === ANY_PROVIDER) { - $provider_id = $this->search_any_provider($service_id, $selected_date); + $provider_id = $this->search_any_provider($selected_date, $service_id); if ($provider_id === NULL) {