From fcb6c888dc50456380c96d352d038a2b266fe5d4 Mon Sep 17 00:00:00 2001 From: pushuo Date: Wed, 17 May 2023 03:11:48 +0000 Subject: [PATCH] !99 Fix the tab_product module reporting an error when there is no data * Fix the tab_product module reporting an error when there is no data --- themes/default/design/tab_product.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/default/design/tab_product.blade.php b/themes/default/design/tab_product.blade.php index 265c595b..a6fbee7e 100644 --- a/themes/default/design/tab_product.blade.php +++ b/themes/default/design/tab_product.blade.php @@ -2,9 +2,9 @@ @include('design._partial._module_tool')
-
{{ $content['title'] }}
+
{{ $content['title'] ?? '' }}
- @if ($content['tabs']) + @if ($content['tabs'] ?? false)