diff --git a/modules/hotelreservationsystem/views/templates/admin/hotel_rooms_booking/helpers/view/view.tpl b/modules/hotelreservationsystem/views/templates/admin/hotel_rooms_booking/helpers/view/view.tpl index b57a7e9d3..9df7cab69 100644 --- a/modules/hotelreservationsystem/views/templates/admin/hotel_rooms_booking/helpers/view/view.tpl +++ b/modules/hotelreservationsystem/views/templates/admin/hotel_rooms_booking/helpers/view/view.tpl @@ -1,5 +1,5 @@
- {if $hotel_list|count > 0} + {if isset($hotel_list) && is_array($hotel_list) && count($hotel_list)}
@@ -343,4 +343,4 @@