From dde0f51797eedc85a54f208946e63d755191bbe0 Mon Sep 17 00:00:00 2001 From: Igor Manjencic Date: Wed, 6 Dec 2023 17:36:36 +0100 Subject: [PATCH] fix(ZMS-1743): fix processing time calculation --- zmsdb/src/Zmsdb/Helper/ArchivedDataIntoStatisticByCron.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zmsdb/src/Zmsdb/Helper/ArchivedDataIntoStatisticByCron.php b/zmsdb/src/Zmsdb/Helper/ArchivedDataIntoStatisticByCron.php index b64460931..63296772a 100644 --- a/zmsdb/src/Zmsdb/Helper/ArchivedDataIntoStatisticByCron.php +++ b/zmsdb/src/Zmsdb/Helper/ArchivedDataIntoStatisticByCron.php @@ -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'])]; }