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 #3333

selectAddEmpty for time elements error in code

Details

Submitted2005-01-31 00:03 UTC
Fromabarrei at gmail dot com
Assignedjustinpatrin
StatusClosed
PackageDB_DataObject_FormBuilder
PHP Version4.3.8
OSlinux
Roadmaps(Not assigned)

Comments

[2005-01-31 00:03 UTC] abarrei at gmail dot com

Description:
------------
* @version $Id: QuickForm.php,v 1.28 2005/01/28 01:23:45 justinpatrin Exp $

Line: 502

Nice copy paste bug :)

_createTimeElement function is setting the addEmptyOption in $dateOptions instead of $timeOptions, both in the if clause and in the actual setting of the array.

Reproduce code:
---------------
N/A

Expected result:
----------------
N/A

Actual result:
--------------
N/A