Skip to content
Browse files

MDL-31469 formslib: fix invalid for="" attributes on optional dates

  • Loading branch information...
1 parent a1063d9 commit 401467b09dab9e44b6096078f93cd8a662f838eb @timhunt timhunt committed Feb 1, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/pear/HTML/QuickForm/checkbox.php
View
1 lib/pear/HTML/QuickForm/checkbox.php
@@ -113,6 +113,7 @@ function getChecked()
*/
function toHtml()
{
+ $this->_generateId(); // Seems to be necessary when this is used in a group.
if (0 == strlen($this->_text)) {
$label = '';
} elseif ($this->_flagFrozen) {

0 comments on commit 401467b

Please sign in to comment.
Something went wrong with that request. Please try again.