]> wagnertech.de Git - timetracker.git/blobdiff - report.php
Fixed a condition that determines grouping for getting subtotals.
[timetracker.git] / report.php
index 5f7e687bf18013b55ef1e83665654472a7a7d98b..f6abcc4c6a691613a2ee8f65fc58f58631efda91 100644 (file)
@@ -178,7 +178,7 @@ $report_items = ttReportHelper::getItems($options);
 if ($request->isGet() && $user->isPluginEnabled('ps'))
   ttReportHelper::putInSession($report_items);
 
-if ('no_grouping' != $group_by)
+if (ttReportHelper::grouping($options))
   $subtotals = ttReportHelper::getSubtotals($options);
 $totals = ttReportHelper::getTotals($options);