From a4631b7ec00837ec0205905593bee6a3f022b438 Mon Sep 17 00:00:00 2001 From: Christian Steinle Date: Thu, 28 Mar 2024 12:10:25 +0100 Subject: [PATCH] Remove warnings in template. --- templates/svjf/tpl_uebersicht_standard.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/svjf/tpl_uebersicht_standard.php b/templates/svjf/tpl_uebersicht_standard.php index ac62295..7822747 100644 --- a/templates/svjf/tpl_uebersicht_standard.php +++ b/templates/svjf/tpl_uebersicht_standard.php @@ -5,6 +5,9 @@ $subline = ''; $text = ''; foreach($this->_data as $pagePart) { + if (!isset($pagePart['type'])) { + continue; + } switch ( $pagePart['type']) { case 'headline' :