Bug sitemap $parent remplacé par $parentId

This commit is contained in:
SylvainLelievre 2021-05-11 07:50:29 +02:00
parent e1ef89b1c2
commit a9c01cb906

View File

@ -63,7 +63,7 @@
foreach($articleIds as $articleId => $article): ?>
<?php if($this->getData(['module',$parentId,'posts',$article,'state']) === true ): ?>
<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>
<?php endif; ?>
<?php endforeach;