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; }