Issues

ZF-7654: Zend_Captcha_ReCaptcha options not working

Issue Type: Bug Created: 2009-08-21T12:16:30.000+0000 Last Updated: 2009-09-17T06:42:49.000+0000 Status: Resolved Fix version(s): - 1.9.3 (22/Sep/09)

Reporter: Philippe Meunier (maxiwheat) Assignee: Pádraic Brady (padraic) Tags: - Zend_Captcha

Related issues: Attachments:

Description

When using Zend_Captcha_ReCaptcha, I try to pass options to ReCaptcha to be able to change the language, which is not working :

$captcha = new Zend_Captcha_ReCaptcha();

$captcha->setPubkey('MyPubKey'); $captcha->setPrivkey('MyPrivKey');

$captcha->setOption('lang', 'fr');

echo $captcha->render();

Displays ReCaptcha in english instead of french

Can be worked around using :

$captcha->getService()->setOption('lang', 'fr');

Comments

Posted by Pádraic Brady (padraic) on 2009-09-17T06:42:49.000+0000

Fixed in r18164

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts