You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -289,6 +288,7 @@ private function getRawInfoPerCategory($timeTracks, $projectidList) {
289
288
$durPerCat = array();
290
289
$bugsPerCat = array();
291
290
291
+
$totalDuration = 0;
292
292
foreach($timeTracksas$timeTrack) {
293
293
try {
294
294
$bugid = $timeTrack->getIssueId();
@@ -308,6 +308,7 @@ private function getRawInfoPerCategory($timeTracks, $projectidList) {
308
308
} else {
309
309
$durPerCat[$catName] = $duration;
310
310
}
311
+
$totalDuration += $duration;
311
312
312
313
// save bugid list per category
313
314
if ($this->isDisplayTasks) {
@@ -325,7 +326,10 @@ private function getRawInfoPerCategory($timeTracks, $projectidList) {
325
326
self::$logger->warn("getDurationPerProjectCategory() issue ".$timeTrack->getIssueId()." not found in Mantis DB (duration = ".$timeTrack->getDuration()." on ".date('Y-m-d', $timeTrack->getDate()).')');
0 commit comments