forked from mirrors/easyappointments
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