1
0
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:
Cameron
2016-03-22 21:11:47 -07:00
parent 846be2c23c
commit e930ee68f1
4 changed files with 13 additions and 5 deletions

View File

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