ZF-3970: Zend_Captcha_Figlet error
Description
There is an example on http://framework.zend.com/manual/en/…
// Originating request:
$captcha = new Zend_Captcha_Figlet(array(
'name' => 'foo',
'wordLen' => 6,
'timeout' => 300,
));
$id = $captcha->generate();
echo $captcha->render(); //ERROR here
// echo $captcha->render($this->view); WORKS!
it ends with: Catchable fatal error: Argument 1 passed to Zend_Captcha_Figlet::render() must be an instance of Zend_View, none given, called in demo-captcha\application\controllers\IndexController.php on line 53 and defined in Zend\Captcha\Figlet.php on line 79
Comments
Posted by Matthew Weier O'Phinney (matthew) on 2008-08-22T14:59:17.000+0000
This is a documentation issue; scheduling for RC3.
Posted by Thomas Weidner (thomas) on 2008-08-24T14:43:16.000+0000
Assigned right component
Posted by julien PAULI (doctorrock83) on 2008-08-29T08:16:39.000+0000
fix is at r11125
Posted by Wil Sinclair (wil) on 2008-09-02T10:39:11.000+0000
Updating for the 1.6.0 release.