Correct the available slot collection display, when any-provider is selected

This commit is contained in:
Alex Tselegidis 2022-10-03 17:05:30 +03:00
parent e784df50e9
commit b39d02b416
1 changed files with 5 additions and 1 deletions

View File

@ -341,7 +341,11 @@ class Booking extends EA_Controller {
$available_hours = array_merge($available_hours, $provider_available_hours);
}
$response = array_unique(array_values($available_hours));
$available_hours = array_unique(array_values($available_hours));
sort($available_hours);
$response = $available_hours;
}
else
{