Commit 4d71544f authored by sylvieg's avatar sylvieg

[FIX]tracker: avoid empty lines

parent 1a1a0eb4
......@@ -223,6 +223,7 @@ while (($items = $trklib->list_items($_REQUEST['trackerId'], $offset, $maxRecord
$smarty->assign_by_ref('items', $items["data"]);
$data = $smarty->fetch('tiki-export_tracker_item.tpl');
$data = preg_replace("/^\n/", "", $data);
if (empty($_REQUEST['encoding']) || $_REQUEST['encoding'] == 'ISO-8859-1') {
$data = utf8_decode($data);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment