From febb40a1513c2efdaee9e76d170c16f5073d54f4 Mon Sep 17 00:00:00 2001 From: abdulmohsen Date: Sun, 28 Apr 2024 15:19:15 +0300 Subject: [PATCH] Fixed removing item from push queue. --- src/Libs/helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Libs/helpers.php b/src/Libs/helpers.php index bd051403..2ddc5d90 100644 --- a/src/Libs/helpers.php +++ b/src/Libs/helpers.php @@ -482,7 +482,7 @@ if (!function_exists('queuePush')) { */ function queuePush(iState $entity, bool $remove = false): void { - if (!$entity->hasGuids() && !$entity->hasRelativeGuid()) { + if (!$remove && !$entity->hasGuids() && !$entity->hasRelativeGuid()) { return; }