Bug sitemap $parent remplacé par $parentId

This commit is contained in:
SylvainLelievre 2021-05-11 07:50:29 +02:00
parent e1ef89b1c2
commit a9c01cb906
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@
foreach($articleIds as $articleId => $article): ?> foreach($articleIds as $articleId => $article): ?>
<?php if($this->getData(['module',$parentId,'posts',$article,'state']) === true ): ?> <?php if($this->getData(['module',$parentId,'posts',$article,'state']) === true ): ?>
<li> <li>
<a href="<?php echo helper::baseUrl() . $parent. '/' . $article;?>"><?php echo $this->getData(['module',$parentId,'posts',$article,'title']); ?></a> <a href="<?php echo helper::baseUrl() . $parentId. '/' . $article;?>"><?php echo $this->getData(['module',$parentId,'posts',$article,'title']); ?></a>
</li> </li>
<?php endif; ?> <?php endif; ?>
<?php endforeach; <?php endforeach;