mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Merge branch '88-error-en-saltos-de-linea-descripcion-informes-en-pdf' into 'develop'
Fix newlines in reporting viewer and pdf generatos - #88 See merge request !232
This commit is contained in:
commit
2f1c8e59f5
@ -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('
','<br/>',$report['contents'][$i]['description']);
|
||||
}
|
||||
reporting_html_print_report($report,false,$config['custom_report_info']);
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user