Fixed removing item from push queue.

This commit is contained in:
abdulmohsen
2024-04-28 15:19:15 +03:00
parent b7de511a45
commit febb40a151

View File

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