]> wagnertech.de Git - timetracker.git/blobdiff - tofile.php
A bit more work on separate page for plugins config.
[timetracker.git] / tofile.php
index 5a190f4bb595e6505706283b8d8ca094db5a9197..a40dbf0ac6e017326f1380c3dbbf699e2b0c1703 100644 (file)
@@ -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'];