From ee799927e61e4fc8bbe47c356cf0e97c51b5c142 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Mon, 18 Apr 2011 15:39:16 -0700 Subject: [PATCH] Fixed new answer textarea label --- plugins/QnA/lib/qnanewanswerform.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/QnA/lib/qnanewanswerform.php b/plugins/QnA/lib/qnanewanswerform.php index 6dc4345069..97c1fca5e3 100644 --- a/plugins/QnA/lib/qnanewanswerform.php +++ b/plugins/QnA/lib/qnanewanswerform.php @@ -57,7 +57,7 @@ class QnanewanswerForm extends Form * * @return void */ - function __construct(HTMLOutputter $out, QnA_Question $question, $showQuestion = true) + function __construct(HTMLOutputter $out, QnA_Question $question, $showQuestion = false) { parent::__construct($out); $this->question = $question; @@ -110,7 +110,7 @@ class QnanewanswerForm extends Form } $out->hidden('qna-question-id', $id, 'id'); - $out->textarea('qna-answer', 'answer', null, null, 'answer'); + $out->textarea('qna-answer', _m('Enter your answer'), null, null, 'answer'); } /**