]> git.mxchange.org Git - core.git/blobdiff - inc/classes/exceptions/crypto/class_EncryptInvalidLengthException.php
readConfig() is not naming convention, renamed to getConfigEntry()
[core.git] / inc / classes / exceptions / crypto / class_EncryptInvalidLengthException.php
index ceebf3ba64862db75deb920d7913016e92f57360..63c6c2e37238526876bc58a666ab4499b10cc0f2 100644 (file)
@@ -31,7 +31,7 @@ class EncryptInvalidLengthException extends FrameworkException {
         */
        public function __construct(Filterable $filterInstance, $code) {
                // Get length
-               $length = $filterInstance->getConfigInstance()->readConfig('captcha_string_length');
+               $length = $filterInstance->getConfigInstance()->getConfigEntry('captcha_string_length');
 
                // Construct message
                $message = sprintf("[%s:%d] Encrypt string has an invalid length. Valid: %d",