Skip to content

Commit

Permalink
FIX Comment feed link is displayed even if comments are disabled #429
Browse files Browse the repository at this point in the history
  • Loading branch information
guiguid authored Apr 29, 2020
1 parent de444fa commit 6fbf700
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions themes/defaut/commentaires.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,12 @@ function cancelCom() {
if(parent!='') { replyCom(parent) }
</script>

<?php $plxShow->comFeed('rss',$plxShow->artId(), '<p><a href="#feedUrl" title="#feedTitle">#feedName</a></p>'); ?>

<?php else: ?>

<p>
<?php $plxShow->lang('COMMENTS_CLOSED') ?>.
</p>

<?php endif; # Fin du if sur l'autorisation des commentaires ?>

<?php $plxShow->comFeed('rss',$plxShow->artId(), '<p><a href="#feedUrl" title="#feedTitle">#feedName</a></p>'); ?>

0 comments on commit 6fbf700

Please sign in to comment.