Remove warnings in template.
This commit is contained in:
@@ -5,6 +5,9 @@ $subline = '';
|
|||||||
$text = '';
|
$text = '';
|
||||||
foreach($this->_data as $pagePart)
|
foreach($this->_data as $pagePart)
|
||||||
{
|
{
|
||||||
|
if (!isset($pagePart['type'])) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
switch ( $pagePart['type'])
|
switch ( $pagePart['type'])
|
||||||
{
|
{
|
||||||
case 'headline' :
|
case 'headline' :
|
||||||
|
|||||||
Reference in New Issue
Block a user