diff --git a/api/src/Storage/Merge.php b/api/src/Storage/Merge.php index 8fcd0d6149..fa74610617 100644 --- a/api/src/Storage/Merge.php +++ b/api/src/Storage/Merge.php @@ -1587,6 +1587,12 @@ abstract class Merge // HTML into non-XML (plaintext template) foreach($replacements as $name => &$value) { + // set unresolved array values to empty string + if(is_array($value)) + { + $value = ''; + continue; + } $value = html_entity_decode($value, ENT_QUOTES, $charset); } }