diff --git a/core/module/sitemap/view/index/index.php b/core/module/sitemap/view/index/index.php index 5294d292..862b9eec 100755 --- a/core/module/sitemap/view/index/index.php +++ b/core/module/sitemap/view/index/index.php @@ -39,14 +39,14 @@ - getData(['page', $parentId, 'moduleId']) === 'blog' ) { ?> - getData(['module',$parentId]) as $articleId => $article): ?> - getData(['module',$parentId,$articleId,'state']) === true) {?> -
  • - -
  • - + getData(['page', $parentId, 'moduleId']) === 'blog' && + !empty($this->getData(['module',$parentId])) ) { ?> + getData(['module',$parentId]) as $articleId => $article): ?> + getData(['module',$parentId,$articleId,'state']) === true ): ?> +
  • + +
  • +