From 4387390dbcf619be327035a00506556ac22cb908 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Thu, 16 Jul 2020 12:10:20 +0200 Subject: [PATCH] Comment approve : filtering missing --- module/blog/blog.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/blog/blog.php b/module/blog/blog.php index 137e691c..4069bd0d 100755 --- a/module/blog/blog.php +++ b/module/blog/blog.php @@ -171,7 +171,7 @@ class blog extends common { $buttonApproval = ''; if ( $this->getData(['module', $this->getUrl(0), $this->getUrl(2),'commentApprove']) === true) { $buttonApproval = template::button('blogcommentApprove' . $commentIds[$i], [ - 'class' => $comment['approval'] === true ? 'blogCommentApprove' : 'blogCommentApprove buttonRed' , + 'class' => $comment['approval'] === true ? 'blogCommentReject' : 'blogCommentApprove buttonRed' , 'href' => helper::baseUrl() . $this->getUrl(0) . '/commentApprove/' . $this->getUrl(2) . '/' . $commentIds[$i] . '/' . $_SESSION['csrf'] , 'value' => $comment['approval'] === true ? 'A' : 'R' ]);