diff --git a/etemplate/inc/class.bo_merge.inc.php b/etemplate/inc/class.bo_merge.inc.php
index e367ccef55..46fb0faa0e 100644
--- a/etemplate/inc/class.bo_merge.inc.php
+++ b/etemplate/inc/class.bo_merge.inc.php
@@ -366,7 +366,7 @@ abstract class bo_merge
}
catch (Exception $e)
{
-echo $content;die();
+ error_log($e);
// Failed...
}
}
@@ -655,7 +655,6 @@ echo $content;die();
{
// replace
and
with CRLF (remove and CRLF)
$value = str_replace(array("\r","\n",'
','
','
'),array('','','',"\r\n","\r\n"),$value);
- //$value = strip_tags($value);
$value = strip_tags($value,implode('',$replace_tags));
}
// replace all control chars (C0+C1) but CR (\015), LF (\012) and TAB (\011) (eg. vertical tabulators) with space
@@ -819,7 +818,7 @@ echo $content;die();
break;
case 'application/vnd.openxmlformats-officedocument.wordprocessingml.document':
case 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet':
- $LF ='';
+ $LF ='';
break;
case 'application/xml';
$LF ='';