From 95342e80a9ff438ca77857e6ef364c56723492b6 Mon Sep 17 00:00:00 2001 From: Gregwar Date: Wed, 23 Jan 2013 19:58:45 +0100 Subject: [PATCH] Avoiding check that as_url is globally set (fixes #46) --- Controller/CaptchaController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controller/CaptchaController.php b/Controller/CaptchaController.php index 06e651a..acdfa48 100644 --- a/Controller/CaptchaController.php +++ b/Controller/CaptchaController.php @@ -28,7 +28,7 @@ class CaptchaController extends Controller $whitelistKey = $options['whitelist_key']; $isOk = false; - if ($options['as_url'] && $session->has($whitelistKey)) { + if ($session->has($whitelistKey)) { $keys = $session->get($whitelistKey); if (is_array($keys) && in_array($key, $keys)) { $isOk = true;