*/
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",