mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
BUG Fix missing hash change for #177
This commit is contained in:
parent
9f527ef54d
commit
ad78ac176c
@ -628,8 +628,7 @@ class CommentingController extends Controller
|
|||||||
$hash = $form->FormName();
|
$hash = $form->FormName();
|
||||||
} elseif (!$comment->Moderated) {
|
} elseif (!$comment->Moderated) {
|
||||||
// Display the "awaiting moderation" text
|
// Display the "awaiting moderation" text
|
||||||
$holder = $this->getOption('comments_holder_id');
|
$hash = "moderated";
|
||||||
$hash = "{$holder}_PostCommentForm_error";
|
|
||||||
} else {
|
} else {
|
||||||
// Link to the moderated, non-spam comment
|
// Link to the moderated, non-spam comment
|
||||||
$hash = $comment->Permalink();
|
$hash = $comment->Permalink();
|
||||||
|
Loading…
Reference in New Issue
Block a user