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 ): ?>