Fix double encoded & in merge functions

This commit is contained in:
Nathan Gray 2014-08-18 20:33:40 +00:00
parent 64fbc7810f
commit b89c654d37

View File

@ -1381,7 +1381,7 @@ abstract class bo_merge
$LF = "\n";
}
if($is_xml) {
$this->replacements = str_replace(array('&','<','>',"\r","\n"),array('&amp;','&lt;','&gt;','',$LF),$this->replacements);
$this->replacements = str_replace(array('&','&amp;amp;','<','>',"\r","\n"),array('&amp;','&amp;','&lt;','&gt;','',$LF),$this->replacements);
}
if (strpos($param[0],'$$NELF') === 0)
{ //sets a Pagebreak and value, only if the field has a value