1
0
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:
Achim Ennenbach
2019-03-20 18:49:11 +01:00
parent c4c661cfac
commit c2952a1239

View File

@@ -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);