Merge: Fix some array replacements snuck through causing fatal errors

This commit is contained in:
nathan 2025-01-29 10:51:53 -07:00 committed by ralf
parent d242b48055
commit b3a2e84d49

View File

@ -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);
}
}