mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 10:02:33 +03:00
Correct the available slot collection display, when any-provider is selected
This commit is contained in:
parent
e784df50e9
commit
b39d02b416
1 changed files with 5 additions and 1 deletions
|
@ -341,7 +341,11 @@ class Booking extends EA_Controller {
|
||||||
$available_hours = array_merge($available_hours, $provider_available_hours);
|
$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
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue