Home » HTML » HTML_QuickForm » Bug #5908
is_a() case sensitive errors
Details
| Submitted | 2005-11-09 21:16 UTC |
|---|---|
| From | arnoldas at netatbiz dot com |
| Status | Wont fix |
| Package | HTML_QuickForm |
| PHP Version | 5.0.4 |
| OS | Red Hat Linux |
| Roadmaps | (Not assigned) |
Comments
[2005-11-09 21:16 UTC] arnoldas at netatbiz dot com
Description:
------------
Problems with autoloading. Must be case sensitive.
QuickForm.php
-------------
line 597: if (is_object($element) && is_subclass_of($element, 'html_quickform_element')) {
fix this line to: if (is_object($element) && is_subclass_of($element, 'HTML_QuickForm_element')) {
line 1134: if (is_a($groupObj, 'html_quickform_group')) {
fix this line to: if (is_a($groupObj, 'HTML_QuickForm_group')) {
line 1329: if (is_object($name) && is_a($name, 'html_quickform_rule')) {
fix this line to: if (is_object($name) && is_a($name, 'HTML_QuickForm_rule')) {
QuikForm/RuleRegistry.php
-------------------------
line 217: if (is_a($groupObj, 'html_quickform_group')) {
fix this line to: if (is_a($groupObj, 'HTML_QuickForm_group')) {
line 307: } elseif ($element->getType() == 'checkbox' && !is_a($element, 'html_quickform_advcheckbox')) {
fix this line to: } elseif ($element->getType() == 'checkbox' && !is_a($element, 'HTML_QuickForm_advcheckbox')) {
line 1909: return (is_object($value) && is_a($value, 'html_quickform_error'));
fix this line to: return (is_object($value) && is_a($value, 'HTML_QuickForm_error'));