X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/187a16b0ffee5ae6af51b010ff90a194048d3457..92dd94c462e142e8a5f7aae9594dd75b5b5a7afa:/tofile.php diff --git a/tofile.php b/tofile.php index 5a190f4b..a40dbf0a 100644 --- a/tofile.php +++ b/tofile.php @@ -60,9 +60,9 @@ $totals_only = $bean->getAttribute('chtotalsonly'); // Obtain items. $options = ttReportHelper::getReportOptions($bean); if ($totals_only) - $subtotals = ttReportHelper::getSubtotals($bean, $options); + $subtotals = ttReportHelper::getSubtotals($options); else - $items = ttReportHelper::getItems($bean, $options); + $items = ttReportHelper::getItems($options); // Build a string to use as filename for the files being downloaded. $filename = strtolower($i18n->get('title.report')).'_'.$bean->mValues['start_date'].'_'.$bean->mValues['end_date'];