Merge: Fix some array replacements snuck through causing fatal errors

This commit is contained in:
nathan 2025-01-29 10:51:53 -07:00
parent 87ce283610
commit 63066ffcc7

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