From a901a91a54c8bcb53177c9bd92c77b386ee06732 Mon Sep 17 00:00:00 2001 From: Igor Manjencic Date: Mon, 18 Dec 2023 15:19:00 +0100 Subject: [PATCH] fix(ZMS-1743): fix processing time --- 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'])]; }