summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/comment/comment.pages.inc2
-rw-r--r--modules/comment/comment.test2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/comment.pages.inc b/modules/comment/comment.pages.inc
index 8e4944402..789ffde7f 100644
--- a/modules/comment/comment.pages.inc
+++ b/modules/comment/comment.pages.inc
@@ -56,7 +56,7 @@ function comment_reply($node, $pid = NULL) {
if (user_access('access comments')) {
// The user is previewing a comment prior to submitting it.
- if ($op == t('Preview comment')) {
+ if ($op == t('Preview')) {
if (user_access('post comments')) {
$output .= comment_form_box(array('pid' => $pid, 'nid' => $node->nid), NULL);
}
diff --git a/modules/comment/comment.test b/modules/comment/comment.test
index 8b17b3b87..96a285040 100644
--- a/modules/comment/comment.test
+++ b/modules/comment/comment.test
@@ -68,7 +68,7 @@ class CommentTestCase extends DrupalWebTestCase {
$this->drupalGet('comment/edit/' . $reply->id);
$reply = $this->postComment(NULL, $this->randomName(), $this->randomName());
$this->assertTrue($this->commentExists($reply, TRUE), t('Modified reply found.'));
-
+
// Correct link count
$this->drupalGet('node');
$this->assertRaw('2 comments', t('Link to the 2 comments exist.'));