mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 15:16:30 +02:00
fixes e_form::checkboxes() not displaying labels properly that contain a
'=' character. Also overwrote any supplied options. Line endings should be Unix LF (was Windows CRLF after rebase master ?!) Another last try 3 ...?
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