diff options
author | Andreas Gohr <andi@splitbrain.org> | 2015-05-11 19:52:12 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2015-05-11 19:52:12 +0200 |
commit | 370c645068595c6750cee2b38eb96aeaac3a9dbb (patch) | |
tree | 69ecb0c9e3817bf1a6a5ce45e5a851a0edb9a676 /inc | |
parent | 64744a10c5578602141ae2977274eec3fcff1f44 (diff) | |
download | rpg-370c645068595c6750cee2b38eb96aeaac3a9dbb.tar.gz rpg-370c645068595c6750cee2b38eb96aeaac3a9dbb.tar.bz2 |
fixed label output
Diffstat (limited to 'inc')
-rw-r--r-- | inc/Form/InputElement.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/Form/InputElement.php b/inc/Form/InputElement.php index 939d911c1..5908f7d11 100644 --- a/inc/Form/InputElement.php +++ b/inc/Form/InputElement.php @@ -150,7 +150,7 @@ class InputElement extends Element { public function toHTML() { if($this->label) { return '<label ' . buildAttributes($this->label->attrs()) . '>' . DOKU_LF . - '<span>' . hsc($this->label->label) . '</span>' . DOKU_LF . + '<span>' . hsc($this->label->val()) . '</span>' . DOKU_LF . $this->mainElementHTML() . DOKU_LF . '</label>'; } else { |