From 20ed2464d4aa06734ebc079ce3eee64a995d1935 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Wed, 18 Nov 2020 18:40:18 +0100 Subject: [PATCH] fix sitemap --- core/module/sitemap/view/index/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/module/sitemap/view/index/index.php b/core/module/sitemap/view/index/index.php index 1d620335..6ae5361c 100644 --- a/core/module/sitemap/view/index/index.php +++ b/core/module/sitemap/view/index/index.php @@ -40,8 +40,8 @@ getData(['page', $parentId, 'moduleId']) === 'blog' && - !empty($this->getData(['module',$parentId])) ) { ?> - getData(['module',$parentId]) as $articleId => $article): ?> + !empty($this->getData(['module',$parentId, 'posts' ])) ) { ?> + getData(['module',$parentId, 'posts' ]) as $articleId => $article): ?> getData(['module',$parentId,'posts',$articleId,'state']) === true ): ?>