From 574c60018f3289cbf17828dda677e72dcbdac55d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Wei=C3=9F?= <98973281+Fabinatix97@users.noreply.github.com> Date: Mon, 11 Nov 2024 13:29:31 +0100 Subject: [PATCH] hotfix(ZMS-3213): add missing queueListArray initialization (#678) --- zmsentities/src/Zmsentities/Collection/QueueList.php | 1 + 1 file changed, 1 insertion(+) diff --git a/zmsentities/src/Zmsentities/Collection/QueueList.php b/zmsentities/src/Zmsentities/Collection/QueueList.php index 4250a9bce..3817e2da4 100644 --- a/zmsentities/src/Zmsentities/Collection/QueueList.php +++ b/zmsentities/src/Zmsentities/Collection/QueueList.php @@ -368,6 +368,7 @@ public function withSelectedProcessFirst(\BO\Zmsentities\Process $process) public function sortByCallTime(string $order) { + $queueListArray = []; foreach ($this as $entity) { $queueListArray[] = $entity; }