readConfig() is not naming convention, renamed to getConfigEntry()
[core.git] / inc / classes / main / filter / crypto / class_CaptchaEncryptFilter.php
index 13ed76007fcb3c9ec7dc7eb992272503ae2fb8fd..99fc84cf0b11997cd8e7c0c885761d50398b478a 100644 (file)
@@ -73,7 +73,7 @@ class CaptchaEncryptFilter extends BaseFilter implements Filterable {
                $decryptedString = ObjectFactory::createObjectByConfiguredName('crypto_class')->decryptString($encryptDecoded);
 
                // Is it the expected length?
-               if (strlen($decryptedString) != $this->getConfigInstance()->readConfig('captcha_string_length')) {
+               if (strlen($decryptedString) != $this->getConfigInstance()->getConfigEntry('captcha_string_length')) {
                        // Not found, so request is invalid
                        $requestInstance->requestIsValid(false);