]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/filter/crypto/class_CaptchaEncryptFilter.php
Continued:
[core.git] / framework / main / classes / filter / crypto / class_CaptchaEncryptFilter.php
index a85c7817426b6a443ccafba501dc1477aca95ff1..13ea605e82a57467f4336a7b0e40f4c5e3345b40 100644 (file)
@@ -72,7 +72,7 @@ class CaptchaEncryptFilter extends BaseFilter implements Filterable {
                // Is it there?
                if (is_null($encryptRequest)) {
                        // Not found, so request is invalid
-                       $requestInstance->requestIsValid(false);
+                       $requestInstance->setIsRequestValid(FALSE);
 
                        // Throw exception
                        throw new EncryptMissingException($this, CryptoHelper::EXCEPTION_ENCRYPT_MISSING);
@@ -87,7 +87,7 @@ class CaptchaEncryptFilter extends BaseFilter implements Filterable {
                // Is it the expected length?
                if (strlen($decryptedString) != FrameworkBootstrap::getConfigurationInstance()->getConfigEntry('captcha_string_length')) {
                        // Not found, so request is invalid
-                       $requestInstance->requestIsValid(false);
+                       $requestInstance->setIsRequestValid(FALSE);
 
                        // Throw exception
                        throw new EncryptInvalidLengthException($this, CryptoHelper::EXCEPTION_ENCRYPT_INVALID);