From b41d768ccab750c6eaa6b2719546b7255ab2a0c1 Mon Sep 17 00:00:00 2001 From: leosw Date: Wed, 30 Jan 2019 21:09:43 +0100 Subject: [PATCH] Fix comment creation in archived articles --- views/d.blog.view.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/views/d.blog.view.html b/views/d.blog.view.html index 2acf5dd..8b1935d 100755 --- a/views/d.blog.view.html +++ b/views/d.blog.view.html @@ -49,11 +49,13 @@ - is_commentable == "t" && $blogArticle->is_archive == "f" && $blogArticle->is_public == "t") { ?> + is_commentable == "t") { ?>
rank=="visitor"?"class='sent' ":""?>> - rankIsHigher("registered")) { ?> + is_archive == "t" || $blogArticle->is_public == "f") { ?> +

Impossible de commenter un article non publiƩ

+ rankIsHigher("registered")) { ?>

Ajouter un nouveau commentaire

@@ -110,7 +112,7 @@ $( "#bloghistory" ).change(function() { }); -rankIsHigher("registered")) { ?> +rankIsHigher("registered") && $blogArticle->is_archive == "f" && $blogArticle->is_public == "t") { ?>