File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
app/code/core/Mage/Newsletter/Model Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -2382,12 +2382,6 @@ parameters:
23822382 count : 2
23832383 path : app/code/core/Mage/Log/Model/Resource/Log.php
23842384
2385- -
2386- rawMessage : ' Call to function is_null() with bool will always evaluate to false.'
2387- identifier : function.impossibleType
2388- count : 1
2389- path : app/code/core/Mage/Newsletter/Model/Subscriber.php
2390-
23912385 -
23922386 rawMessage : ' Call to function is_null() with Mage_Newsletter_Model_Queue will always evaluate to false.'
23932387 identifier : function.impossibleType
Original file line number Diff line number Diff line change @@ -469,7 +469,7 @@ public function subscribeCustomer($customer)
469469
470470 $ this ->save ();
471471 $ sendSubscription = $ customer ->getData ('sendSubscription ' ) || $ sendInformationEmail ;
472- if (is_null ( $ sendSubscription ) xor $ sendSubscription ) {
472+ if ($ sendSubscription ) {
473473 if ($ this ->getIsStatusChanged () && $ status == self ::STATUS_UNSUBSCRIBED ) {
474474 $ this ->sendUnsubscriptionEmail ();
475475 } elseif ($ this ->getIsStatusChanged () && $ status == self ::STATUS_SUBSCRIBED ) {
You can’t perform that action at this time.
0 commit comments