Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.18.2

Bug #19855 Undefined property Text_CAPTCHA_Driver_Word::$locale
Submitted: 2013-03-13 00:02 UTC
From: cweiske Assigned: doconnor
Status: Closed Package: Numbers_Words
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2013-03-13 00:02 UTC] cweiske (Christian Weiske)
Description: ------------ I get a notice when using the Word captcha driver when running getCAPTCHA() on the object: PHP Notice: Undefined property: Text_CAPTCHA_Driver_Word::$locale in /usr/share/php/Numbers/Words.php on line 71 PEAR packages should not emit notices.

Comments

 [2013-03-16 01:04 UTC] cweiske (Christian Weiske)
This is fixed in SVN already. No idea why this is not released.
 [2013-03-16 18:59 UTC] wenz (Christian Wenz)
-Status: Open +Status: Feedback
SVN version of the driver is identical to the one in the 0.4.5 release. Do you refer to a SVN version of Numbers_Words?
 [2013-03-16 22:28 UTC] cweiske (Christian Weiske)
-Package: Text_CAPTCHA +Package: Numbers_Words
Ah. This probably is a but on Numbers_Words, not Text_CAPTCHA_Driver_Word. The driver calls the numbers_words method statically, but it uses $this, inheriting it from the Driver object...
 [2013-03-25 00:12 UTC] cweiske (Christian Weiske)
-Status: Feedback +Status: Open
Patch at https://github.com/pear/Numbers_Words/pull/4
 [2013-06-29 12:48 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Closed -Assigned To: +Assigned To: doconnor
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.