Corrected wrong parameters order.

This commit is contained in:
Alex Tselegidis 2020-11-12 14:15:38 +02:00
parent cc6b18022c
commit 25fdd5636d

View file

@ -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)
{