diff --git a/index.php b/index.php index a5b624a6..532d7e63 100644 --- a/index.php +++ b/index.php @@ -244,7 +244,7 @@ function print_add_ticket() hesk_cleanSessionVars('already_submitted'); // Tell header to load reCaptcha API if needed - if ($hesk_settings['recaptcha_use'] == 2) { + if ($hesk_settings['recaptcha_use']) { define('RECAPTCHA', 1); } @@ -339,6 +339,7 @@ function print_add_ticket() } ?>