cvs: pear /DB_Table/DB/Table QuickForm.php
| From: | Paul Jones | Date: | Tue, 22 Feb 2005 15:51:39 +0000 |
| Subject: | cvs: pear /DB_Table/DB/Table QuickForm.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-29673@lists.php.net to get a copy of this message | ||
pmjones Tue Feb 22 10:51:39 2005 EDT
Modified files:
/pear/DB_Table/DB/Table QuickForm.php
Log:
static elements now get an element name
http://cvs.php.net/diff.php/pear/DB_Table/DB/Table/QuickForm.php?r1=1.15&r2=1.16&ty=u
Index: pear/DB_Table/DB/Table/QuickForm.php
diff -u pear/DB_Table/DB/Table/QuickForm.php:1.15 pear/DB_Table/DB/Table/QuickForm.php:1.16
--- pear/DB_Table/DB/Table/QuickForm.php:1.15 Mon Dec 20 13:59:16 2004
+++ pear/DB_Table/DB/Table/QuickForm.php Tue Feb 22 10:51:39 2005
@@ -22,7 +22,7 @@
* DB_Table_QuickForm provides HTML form creation facilities based on
* DB_Table column definitions transformed into HTML_QuickForm elements.
*
-* $Id: QuickForm.php,v 1.15 2004/12/20 18:59:16 pmjones Exp $
+* $Id: QuickForm.php,v 1.16 2005/02/22 15:51:39 pmjones Exp $
*
* @author Paul M. Jones <pmjones@ciaweb.net>
*
@@ -435,7 +435,7 @@
case 'static':
$element =& HTML_QuickForm::createElement(
$col['qf_type'],
- null,
+ $elemname,
$col['qf_label'],
(isset($setval) ? $setval : '')
);