From cb1ff8a7b8d21a6e82fc5b9b2ee5d4772da9b462 Mon Sep 17 00:00:00 2001 From: abhishek-webkul <84142535+abhishek-webkul@users.noreply.github.com> Date: Tue, 23 Jan 2024 17:16:02 +0530 Subject: [PATCH] Update view.tpl --- .../templates/admin/hotel_rooms_booking/helpers/view/view.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 @@