Skip to content

Commit 60207ad

Browse files
author
mutec
committed
Revert "catch empty content node trees"
This reverts commit 006f454
1 parent 006f454 commit 60207ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/page.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
<p class="info">{lang}cms.page.delayedPublication{/lang}</p>
105105
{/if}
106106

107-
{if !$contentNodeTrees['body']|empty}{include file='contentNodeList' application='cms' contentNodeTree=$contentNodeTrees['body'] position='body'}{/if}
107+
{include file='contentNodeList' application='cms' contentNodeTree=$contentNodeTrees['body'] position='body'}
108108

109109
{if $page->isCommentable && $page->getPermission('user.canViewComment')}
110110
<section id="comments" class="section sectionContainerList">

templates/pageEditor.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
<p class="info">{lang}cms.page.delayedPublication{/lang}</p>
105105
{/if}
106106

107-
{if !$contentNodeTrees['body']|empty}{include file='contentNodeList' application='cms' contentNodeTree=$contentNodeTrees['body'] position='body'}{/if}
107+
{include file='sortableContentList' application='cms' contentNodeTree=$contentNodeTrees['body'] position='body'}
108108

109109
{if $page->isCommentable && $page->getPermission('user.canViewComment')}
110110
<section id="comments" class="section sectionContainerList">

0 commit comments

Comments
 (0)