Merge pull request #183 from tractorcow/pulls/fix-missing-hash

BUG Fix missing hash change for #177
This commit is contained in:
Daniel Hensby 2016-04-12 14:33:25 +01:00
commit 2ce4d2a5f7

View File

@ -628,8 +628,7 @@ class CommentingController extends Controller
$hash = $form->FormName();
} elseif (!$comment->Moderated) {
// Display the "awaiting moderation" text
$holder = $this->getOption('comments_holder_id');
$hash = "{$holder}_PostCommentForm_error";
$hash = "moderated";
} else {
// Link to the moderated, non-spam comment
$hash = $comment->Permalink();