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

if(!$user) { if(!$user) {
return false; return false;
} }
return $this->isUserSubscribedNewsletter($user, Email::TYPE_NEWSLETTER) return $this->isUserSubscribedNewsletter($user, Email::TYPE_NEWSLETTER)
|| $this->isUserSubscribedNewsletter($user, Email::TYPE_ORDER_TAKING); || $this->isUserSubscribedNewsletter($user, Email::TYPE_ORDER_TAKING);
} }

Loading…
Cancel
Save