Skip to content

Commit

Permalink
Merge pull request #59 from it-at-m/bugfix-1743-fix-processing-time
Browse files Browse the repository at this point in the history
Bugfix 1743 fix processing time
  • Loading branch information
manjencic authored Dec 8, 2023
2 parents 1549573 + 4822021 commit e2d63f5
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 e2d63f5

Please sign in to comment.