summaryrefslogtreecommitdiff
path: root/extensions/ConfirmEdit/QuestyCaptcha.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/ConfirmEdit/QuestyCaptcha.class.php')
-rw-r--r--extensions/ConfirmEdit/QuestyCaptcha.class.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/ConfirmEdit/QuestyCaptcha.class.php b/extensions/ConfirmEdit/QuestyCaptcha.class.php
index 90e4b186..8e87db30 100644
--- a/extensions/ConfirmEdit/QuestyCaptcha.class.php
+++ b/extensions/ConfirmEdit/QuestyCaptcha.class.php
@@ -40,9 +40,10 @@ class QuestyCaptcha extends SimpleCaptcha {
}
$index = $this->storeCaptcha( $captcha );
return "<p><label for=\"wpCaptchaWord\">{$captcha['question']}</label> " .
- Xml::element( 'input', array(
+ Html::element( 'input', array(
'name' => 'wpCaptchaWord',
'id' => 'wpCaptchaWord',
+ 'required',
'tabindex' => 1 ) ) . // tab in before the edit textarea
"</p>\n" .
Xml::element( 'input', array(