diff --git a/plugins/captcha/recaptcha/recaptcha.php b/plugins/captcha/recaptcha/recaptcha.php index 000af49a4d2a1..203563de208e0 100644 --- a/plugins/captcha/recaptcha/recaptcha.php +++ b/plugins/captcha/recaptcha/recaptcha.php @@ -82,6 +82,11 @@ public function onInit($id = 'dynamic_recaptcha_1') */ public function onDisplay($name = null, $id = 'dynamic_recaptcha_1', $class = '') { + if ($class == '') + { + $class = 'class="required"'; + } + if ($this->params->get('version', '1.0') === '1.0') { return '
';