X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=framework%2Fmain%2Fclasses%2Ffilter%2Fcrypto%2Fclass_CaptchaEncryptFilter.php;fp=framework%2Fmain%2Fclasses%2Ffilter%2Fcrypto%2Fclass_CaptchaEncryptFilter.php;h=aaab8dff42b178f79a0df145b876a14a575c89db;hp=97a1f11a95975d78525e26a8e98121f554ecf352;hb=d319dc01ba1f01a619180cc539e80d45be0bc346;hpb=53f5e597b72bedb2995dca43e04d88f37eaa5e88 diff --git a/framework/main/classes/filter/crypto/class_CaptchaEncryptFilter.php b/framework/main/classes/filter/crypto/class_CaptchaEncryptFilter.php index 97a1f11a..aaab8dff 100644 --- a/framework/main/classes/filter/crypto/class_CaptchaEncryptFilter.php +++ b/framework/main/classes/filter/crypto/class_CaptchaEncryptFilter.php @@ -82,7 +82,7 @@ class CaptchaEncryptFilter extends BaseFilter implements Filterable { $encryptDecoded = base64_decode(str_replace(' ', '+', urldecode($encryptRequest))); // Get a crypto helper and decrypt the string - $decryptedString = ObjectFactory::createObjectByConfiguredName('crypto_class')->decryptString($encryptDecoded); + $decryptedString = CryptoHelper::getSelfInstance()->decryptString($encryptDecoded); // Is it the expected length? if (strlen($decryptedString) != FrameworkBootstrap::getConfigurationInstance()->getConfigEntry('captcha_string_length')) {