We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81482bf commit f409bbbCopy full SHA for f409bbb
Model/Customer/CustomerChecker.php
@@ -31,6 +31,6 @@ public function canErase(int $entityId): bool
31
['nin' => $this->erasureConfig->getAllowedStatesToErase($customer->getWebsiteId())]
32
);
33
34
- return $collection->getSize() > 0;
+ return !$collection->getSize();
35
}
36
0 commit comments