Skip to content

Commit 93453a8

Browse files
authored
removed inline control structure
1 parent 9ab75ba commit 93453a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Newsletter/Model/Subscriber.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,8 +614,9 @@ protected function _updateCustomerSubscription($customerId, $subscribe)
614614
$this->sendConfirmationSuccessEmail();
615615
break;
616616
case self::STATUS_NOT_ACTIVE:
617-
if ($isConfirmNeed)
617+
if ($isConfirmNeed) {
618618
$this->sendConfirmationRequestEmail();
619+
}
619620
break;
620621
}
621622
} catch (MailException $e) {

0 commit comments

Comments
 (0)