Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
baa5cd8
)
MDL-31469 formslib: fix invalid for="" attributes on optional dates
author
Tim Hunt
<T.J.Hunt@open.ac.uk>
Wed, 1 Feb 2012 12:17:31 +0000
(12:17 +0000)
committer
Tim Hunt
<T.J.Hunt@open.ac.uk>
Thu, 2 Feb 2012 18:38:01 +0000
(18:38 +0000)
lib/pear/HTML/QuickForm/checkbox.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/pear/HTML/QuickForm/checkbox.php
b/lib/pear/HTML/QuickForm/checkbox.php
index
8b79c12
..
100f8e7
100644
(file)
--- a/
lib/pear/HTML/QuickForm/checkbox.php
+++ b/
lib/pear/HTML/QuickForm/checkbox.php
@@
-113,6
+113,7
@@
class HTML_QuickForm_checkbox extends HTML_QuickForm_input
*/
function toHtml()
{
+ $this->_generateId(); // Seems to be necessary when this is used in a group.
if (0 == strlen($this->_text)) {
$label = '';
} elseif ($this->_flagFrozen) {