diff options
author | Gina Haeussge <osd@foosel.net> | 2008-04-07 21:37:47 +0200 |
---|---|---|
committer | Gina Haeussge <osd@foosel.net> | 2008-04-07 21:37:47 +0200 |
commit | 6b4feb283d36130124c71a10e5c39b9e87061267 (patch) | |
tree | f9097ee8adde73b1875984e51b0538d4e3b9b773 /inc/form.php | |
parent | 7e038d4e8843a5438c8eb8adce04e6ac7cb620cd (diff) | |
download | rpg-6b4feb283d36130124c71a10e5c39b9e87061267.tar.gz rpg-6b4feb283d36130124c71a10e5c39b9e87061267.tar.bz2 |
form_listboxfield now produces valid output of a listbox including label
darcs-hash:20080407193747-2b4f5-6cbc0120884b204ef8d5e4f0940938a5a75bb997.gz
Diffstat (limited to 'inc/form.php')
-rw-r--r-- | inc/form.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/form.php b/inc/form.php index fbba80296..cd72f7b43 100644 --- a/inc/form.php +++ b/inc/form.php @@ -871,7 +871,7 @@ function form_listboxfield($attrs) { $s = '<label class="'.$attrs['_class'].'"'; if (!empty($attrs['id'])) $s .= ' for="'.$attrs['id'].'"'; $s .= '><span>'.$attrs['_text'].'</span> '; - $s = '<select '.buildAttributes($attrs,true).'>'.NL; + $s .= '<select '.buildAttributes($attrs,true).'>'.NL; if (!empty($attrs['_options'])) { foreach ($attrs['_options'] as $opt) { @list($value,$text,$select) = $opt; |