From: Web Access Date: Thu, 16 Jul 2015 14:03:16 +0000 (+0530) Subject: Notice Fix on offline membership X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4abe8d4764929306694ee3b7fa9659a9393f1084;p=civicrm-core.git Notice Fix on offline membership --- diff --git a/CRM/Member/Form/Membership.php b/CRM/Member/Form/Membership.php index ee8f992bbc..17c4d81bf0 100644 --- a/CRM/Member/Form/Membership.php +++ b/CRM/Member/Form/Membership.php @@ -1702,7 +1702,7 @@ WHERE id IN ( ' . implode(' , ', array_keys($membershipType)) . ' )'; } } $statusMsg = implode('
', $statusMsg); - if ($receiptSend && $mailSend) { + if ($receiptSend && !empty($mailSend)) { $statusMsg .= ' ' . ts('A membership confirmation and receipt has been sent to %1.', array(1 => $this->_contributorEmail)); } }