Skip to content

Commit

Permalink
MOL-435: fix customer registration subscriber (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
schmitzcarsten authored Apr 22, 2021
1 parent c6899eb commit 454dbe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Subscriber/CustomerRegistrationSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function onCustomerRegistration(EntityWrittenEvent $entityWrittenEvent):

$source = $context->getSource();

if ($source === null && !method_exists($source, 'getSalesChannelId')) {
if ($source === null | !method_exists($source, 'getSalesChannelId')) {
return;
}

Expand Down

0 comments on commit 454dbe9

Please sign in to comment.