Skip to content

Commit

Permalink
Update ManagerInterfacePlugin.php
Browse files Browse the repository at this point in the history
  • Loading branch information
tdgroot authored Jun 4, 2020
1 parent aa719d3 commit edc0fa0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Plugin/Message/ManagerInterfacePlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ public function aroundAddComplexSuccessMessage(
array $data = [],
$group = null
) {
if ($identifier === 'addCartSuccessMessage' && $this->config->isEnabled() && $this->config->isDefaultNotificationDisabled()) {
if ($identifier === 'addCartSuccessMessage' &&
$this->config->isEnabled() &&
$this->config->isDefaultNotificationDisabled()) {
return $subject;
}

Expand Down

0 comments on commit edc0fa0

Please sign in to comment.