PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Database » DB_DataObject_FormBuilder » Bug #500

Unable to create date QuickForm elements

Details

Submitted2003-12-28 21:10 UTC
Fromrombert at go dot ro
Assignedmw21st
StatusClosed
PackageDB_DataObject_FormBuilder
PHP Version4.3.4
OSRedHat Linux 9.0
Roadmaps(Not assigned)

Comments

[2003-12-28 21:10 UTC] rombert at go dot ro

Description:
------------
The package does not properly create date elements. Apparently the element name is wrong ( not 'dategroup', but 'date'). I have submitted the simple modification below.

In PEAR_ROOT/DB/DataObject/Formbuilder.php:

line 290

from $element = HTML_QuickForm::createElement('dategroup',...
to $element = HTML_QuickForm::createElement('date',...

[2003-12-28 21:24 UTC] mw21st at php dot net

This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pear.php.net.

In case this was a pear.php.net website problem, the change will show
up on the website in short time.

Thank you for the report, and for helping us make PEAR better.