Skip to content

Commit

Permalink
fix(ZMS-1743): fix processing time calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
manjencic committed Dec 6, 2023
1 parent c738d4e commit dde0f51
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 dde0f51

Please sign in to comment.