Browse Source

Correctif isUserSubscribedOneNewsletter

feature/rotating_product
Guillaume Bourgeois 4 months ago
parent
commit
7dd17cbe0c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      domain/User/User/NewsletterManager.php

+ 1
- 1
domain/User/User/NewsletterManager.php View File

@@ -37,7 +37,7 @@ class NewsletterManager extends AbstractService implements ManagerInterface
if(!$user) {
return false;
}
return $this->isUserSubscribedNewsletter($user, Email::TYPE_NEWSLETTER)
|| $this->isUserSubscribedNewsletter($user, Email::TYPE_ORDER_TAKING);
}

Loading…
Cancel
Save