mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
Merge pull request #3734 from SimSync/fix_checkboxes
fixes e_form::checkboxes() not displaying labels properly
This commit is contained in:
@@ -2576,8 +2576,12 @@ class e_form
|
||||
$c = vartrue($checked[$k]);
|
||||
}
|
||||
|
||||
|
||||
$text .= $this->checkbox($cname, $key, $c, $label);
|
||||
/**
|
||||
* Label overwrote the other supplied options (if any)
|
||||
* and also failed in case it contained a "=" character
|
||||
*/
|
||||
$options['label'] = $label;
|
||||
$text .= $this->checkbox($cname, $key, $c, $options);
|
||||
}
|
||||
|
||||
// return print_a($checked,true);
|
||||
|
Reference in New Issue
Block a user