Fix newlines in reporting viewer and pdf generatos - #88

This commit is contained in:
enriquecd 2017-03-06 17:07:29 +01:00
parent 631a4d0777
commit 0acfe23e9d
1 changed files with 3 additions and 0 deletions

View File

@ -215,6 +215,9 @@ if ($enable_init_date) {
$report = reporting_make_reporting_data(null, $id_report, $date, $time,
$period, 'dinamic');
for ($i=0; $i < sizeof($report['contents']); $i++) {
$report['contents'][$i]['description'] = str_replace('&#x0d;&#x0a;','<br/>',$report['contents'][$i]['description']);
}
reporting_html_print_report($report,false,$config['custom_report_info']);