Skip to content

Commit

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

Please sign in to comment.