Skip to content
Snippets Groups Projects
Commit 6a6d3716 authored by Yannick's avatar Yannick Committed by Kristof De Jaeger
Browse files

Issue #1982646 by yannickoo: Fixed Warning: htmlspecialchars() expects...

Issue #1982646 by yannickoo: Fixed Warning: htmlspecialchars() expects parameter 1 to be string, array given in check_plain() (line 1559 of includes/bootstrap.inc).
parent f84bd698
Branches 6.0.x
Tags 6.0.8
No related merge requests found
......@@ -1087,7 +1087,7 @@ function ds_ds_field_format_summary($field) {
$conf = unserialize($value);
$summary .= t('Type: !type', array('!type' => check_plain(drupal_ucfirst(str_replace('_', ' ', $conf['subtype'])))));
}
elseif ($key == 'ft') {
elseif ($key == 'ft' || is_array($value)) {
// Do nothing
}
elseif (!empty($value)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment