summaryrefslogtreecommitdiff
path: root/modules/recaptcha/helpers/recaptcha_event.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/recaptcha/helpers/recaptcha_event.php')
-rw-r--r--modules/recaptcha/helpers/recaptcha_event.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/recaptcha/helpers/recaptcha_event.php b/modules/recaptcha/helpers/recaptcha_event.php
index 6e885656..d3e5bca6 100644
--- a/modules/recaptcha/helpers/recaptcha_event.php
+++ b/modules/recaptcha/helpers/recaptcha_event.php
@@ -20,7 +20,7 @@
class recaptcha_event_Core {
static function recaptcha_add($form) {
if (module::get_var("recaptcha", "public_key")) {
- $form->add_comment->recaptcha("recaptcha")->label("")->id("g-recaptcha");
+ $form->recaptcha("recaptcha")->label("")->id("g-recaptcha");
}
}