mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-31 10:31:31 +01:00
Merge: Fix some array replacements snuck through causing fatal errors
This commit is contained in:
parent
87ce283610
commit
63066ffcc7
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user