mirror of
https://github.com/e107inc/e107.git
synced 2025-08-16 11:36:08 +02:00
PDO Fix for saving of e107::serialize() data. Saving of Extended Field data now working correctly.
This commit is contained in:
@@ -1522,7 +1522,8 @@ class e_form
|
||||
elseif(!empty($options['useLabelValues']))
|
||||
{
|
||||
$key = $label;
|
||||
$c = in_array($label, $checked) ? true : false;
|
||||
//print_a($label);
|
||||
$c = in_array($label, e107::getParser()->toDB($checked)) ? true : false;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -1535,6 +1536,8 @@ class e_form
|
||||
$text .= $this->checkbox($cname, $key, $c, $label);
|
||||
}
|
||||
|
||||
// return print_a($checked,true);
|
||||
|
||||
if(!empty($text))
|
||||
{
|
||||
return "<div class='checkboxes' style='display:inline-block'>".$text."</div>";
|
||||
|
Reference in New Issue
Block a user