- Issue created by @Ilyna
- @ilyna-0 opened merge request.
- First commit to issue fork.
When we have an hourly booking with opening dates, I get an error "Please select start and end times within the opening hours." because during this test that compares an integer with a string.
In file AddReservationForm.php (l263))
// Only slots that are in the requested starting day.
$open_hours = array_filter($open_hours, function ($open_hour) use ($start_date) {
return $open_hour['day'] === $start_date->format('w');
});
Just add cast.
Active
11.1
Code