X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Ffilter%2Fcrypto%2Fclass_CaptchaEncryptFilter.php;h=99fc84cf0b11997cd8e7c0c885761d50398b478a;hb=3b369c267715db8baefd28b85375406946270ebd;hp=ef8dbfc2e05eca6e1e1afc624fcd8d47a3a986a8;hpb=49f84a522f0ccac3b70728cd41011a0be0eed8cf;p=core.git diff --git a/inc/classes/main/filter/crypto/class_CaptchaEncryptFilter.php b/inc/classes/main/filter/crypto/class_CaptchaEncryptFilter.php index ef8dbfc2..99fc84cf 100644 --- a/inc/classes/main/filter/crypto/class_CaptchaEncryptFilter.php +++ b/inc/classes/main/filter/crypto/class_CaptchaEncryptFilter.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007 - 2009 Roland Haeder, this is free software + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @@ -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);