X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/756657a71e251b65d8191636e33e5e4ea32767af..92dd94c462e142e8a5f7aae9594dd75b5b5a7afa:/topdf.php diff --git a/topdf.php b/topdf.php index b415f50d..69f5816d 100644 --- a/topdf.php +++ b/topdf.php @@ -78,8 +78,8 @@ $options = ttReportHelper::getReportOptions($bean); if (!$totals_only) $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) {