Skip to content

Commit

Permalink
Merge pull request #54 from it-at-m/bugfix-1743-fix-processing-time
Browse files Browse the repository at this point in the history
fix(ZMS-1743): fix processing time calculation
  • Loading branch information
manjencic authored Dec 7, 2023
2 parents b37fcc1 + dde0f51 commit 4900d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zmsdb/src/Zmsdb/Helper/ArchivedDataIntoStatisticByCron.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ protected function writeProcessInStatisticTable(
$requestList = (new \BO\Zmsdb\Request())->readRequestByArchiveId($process->archiveId);
$processingTime = null;
if ($requestList->count()) {
$processingTime = $requestList->count() === 1 ? $process->bearbeitungszeit : null;
$processingTime = $requestList->count() === 1 ? $process->processingTime : null;
} else {
$requestList = [new \BO\Zmsentities\Request(['id' => '-1'])];
}
Expand Down

0 comments on commit 4900d94

Please sign in to comment.