diff options
| author | Till Glöggler <till@gundk.it> | 2021-10-05 10:19:18 +0200 |
|---|---|---|
| committer | Till Glöggler <till@gundk.it> | 2021-10-05 10:19:22 +0200 |
| commit | 8df4c654749d18a7de398742a4bd9175a5a5e773 (patch) | |
| tree | 13821d2addace3bcea4129f9368fa11265092c3a /lib/resources | |
| parent | 0061c6be014723dc0e3d8df7056d905e19273790 (diff) | |
fixes #261
Diffstat (limited to 'lib/resources')
| -rw-r--r-- | lib/resources/RoomManager.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/resources/RoomManager.class.php b/lib/resources/RoomManager.class.php index a362414..0932d45 100644 --- a/lib/resources/RoomManager.class.php +++ b/lib/resources/RoomManager.class.php @@ -592,7 +592,7 @@ class RoomManager } $result = []; - if (is_array($time_ranges)) { + if (!empty($time_ranges)) { //We must check if the room is available: foreach ($filtered_rooms as $room) { $room_is_available = true; |
