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

Bug #7342 isTypeRegistered should be case-insensitive
Submitted: 2006-04-08 07:06 UTC
From: justinpatrin Assigned: avb
Status: Closed Package: HTML_QuickForm (version CVS)
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2006-04-08 07:06 UTC] justinpatrin (Justin Patrin)
Description: ------------ Since registerElementType and _loadElement() use strtolower() when storing ot checking the element type, isTypeRegistered should also use strtolower when accessing the type array.

Comments

 [2006-05-29 14:07 UTC] avb (Alexey Borzov)
Good catch.
 [2006-06-03 11:57 UTC] avb (Alexey Borzov)
This bug has been fixed in CVS. 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.