Bug sitemap $parent remplacé par $parentId

This commit is contained in:
SylvainLelievre 2021-05-11 07:51:43 +02:00
parent a6b0921f12
commit 892b2a833a

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;