fixed not working value display of arrays

This commit is contained in:
Ralf Becker 2007-07-22 13:12:21 +00:00
parent ed29218b5d
commit edc5dc9db5

View File

@ -470,7 +470,7 @@
foreach((array)$content['cont'] as $key => $val) foreach((array)$content['cont'] as $key => $val)
{ {
$vals["@$r"] = $key; $vals["@$r"] = $key;
$vals["A$r"] = is_array($val) ? htmlspecialchars(serialize($val)).'#SeR#' : $val; $vals["A$r"] = is_array($val) ? serialize($val).'#SeR#' : $val;
++$r; ++$r;
} }
$editor->data[$editor->rows]['A']['name'] = 'etemplate.editor.values'; $editor->data[$editor->rows]['A']['name'] = 'etemplate.editor.values';