PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTML » HTML_QuickForm » Bug #5908

is_a() case sensitive errors

Details

Submitted2005-11-09 21:16 UTC
Fromarnoldas at netatbiz dot com
StatusWont fix
PackageHTML_QuickForm
PHP Version5.0.4
OSRed 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'));