X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/187a16b0ffee5ae6af51b010ff90a194048d3457..f12ceba49cb845be385e6b7c7786fc7e5393e802:/topdf.php diff --git a/topdf.php b/topdf.php index 9d3164af..69f5816d 100644 --- a/topdf.php +++ b/topdf.php @@ -76,10 +76,10 @@ if ('no_grouping' != $group_by) { // Obtain items for report. $options = ttReportHelper::getReportOptions($bean); if (!$totals_only) - $items = ttReportHelper::getItems($bean, $options); // Individual entries. + $items = ttReportHelper::getItems($options); // Individual entries. if ($totals_only || 'no_grouping' != $group_by) - $subtotals = ttReportHelper::getSubtotals($bean, $options); // Subtotals for groups of items. -$totals = ttReportHelper::getTotals($bean, $options); // Totals for the entire report. + $subtotals = ttReportHelper::getSubtotals($options); // Subtotals for groups of items. +$totals = ttReportHelper::getTotals($options); // Totals for the entire report. // Assign variables that are used to print subtotals. if ($items && 'no_grouping' != $group_by) {