Author: jablko
Date: Sun Aug 30 11:02:00 2009
New Revision: 3126
Log:
Fix bug where specifying an object property name would also override the form
input name. This is not desired : P
Modified:
trunk/apps/qubit/lib/helper/QubitHelper.php
Modified: trunk/apps/qubit/lib/helper/QubitHelper.php
==============================================================================
--- trunk/apps/qubit/lib/helper/QubitHelper.php Sun Aug 30 00:02:45 2009
(r3125)
+++ trunk/apps/qubit/lib/helper/QubitHelper.php Sun Aug 30 11:02:00 2009
(r3126)
@@ -68,6 +68,8 @@
EOF;
}
+ unset($options['name']);
+
return <<<EOF
<div class="form-item">
{$field->renderLabel()}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---