From 3049b0d052005d61899c8b27bf9cf8d0842f9255 Mon Sep 17 00:00:00 2001 From: Nicolas <nicolas@bejean.eu> Date: Sat, 6 Oct 2018 13:38:49 +0200 Subject: [PATCH] Correction de l'affichage du titre si il n'y a pas description --- view/frontend/templates/widget/category_widget.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/frontend/templates/widget/category_widget.phtml b/view/frontend/templates/widget/category_widget.phtml index f4c9432..5b3df46 100755 --- a/view/frontend/templates/widget/category_widget.phtml +++ b/view/frontend/templates/widget/category_widget.phtml @@ -5,7 +5,7 @@ <div class="widget block block-static-block category-widget"> <div class="block-content"> <?php if($this->getModel() == "widget/category_widget.phtml") { ?> - <?php if($this->getWidgetTitle() != null && $this->getWidgetContent() != null): ?> + <?php if($this->getWidgetTitle() != null || $this->getWidgetContent() != null): ?> <div class="content-heading"> <?php if($this->getWidgetTitle() != null): ?> <h2 class="title"> -- GitLab