X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=framework%2Fmain%2Fclasses%2Ffilter%2Fcrypto%2Fclass_CaptchaEncryptFilter.php;h=128e06fab9ef40b81799e930b4936d639f810088;hb=4f9cf34b521892cb99fae9b21b92787f3d555b74;hp=b2eb002b0ad51ca31c22c34ddb1c7c3dcd8089fa;hpb=e4c8bbae5064bfc7a32608e7f12a6428bf42cf28;p=core.git diff --git a/framework/main/classes/filter/crypto/class_CaptchaEncryptFilter.php b/framework/main/classes/filter/crypto/class_CaptchaEncryptFilter.php index b2eb002b..128e06fa 100644 --- a/framework/main/classes/filter/crypto/class_CaptchaEncryptFilter.php +++ b/framework/main/classes/filter/crypto/class_CaptchaEncryptFilter.php @@ -1,14 +1,14 @@ requestIsValid(FALSE); + $requestInstance->requestIsValid(false); // Throw exception throw new EncryptMissingException($this, CryptoHelper::EXCEPTION_ENCRYPT_MISSING); @@ -86,7 +86,7 @@ class CaptchaEncryptFilter extends BaseFilter implements Filterable { // Is it the expected length? if (strlen($decryptedString) != $this->getConfigInstance()->getConfigEntry('captcha_string_length')) { // Not found, so request is invalid - $requestInstance->requestIsValid(FALSE); + $requestInstance->requestIsValid(false); // Throw exception throw new EncryptInvalidLengthException($this, CryptoHelper::EXCEPTION_ENCRYPT_INVALID);