From af27f148a50d8ae8c19e19150b1edd0e6d6bd52c Mon Sep 17 00:00:00 2001 From: Nicolas Ganivet Date: Tue, 21 Jun 2016 21:41:03 -0600 Subject: [PATCH] Cleaner with variable initialized. --- CRM/Member/Form/Membership.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Member/Form/Membership.php b/CRM/Member/Form/Membership.php index 1bfce14a6d..d4d174194e 100644 --- a/CRM/Member/Form/Membership.php +++ b/CRM/Member/Form/Membership.php @@ -1661,6 +1661,7 @@ WHERE id IN ( ' . implode(' , ', array_keys($membershipType)) . ' )'; } } + $mailSend = FALSE; if (!empty($formValues['send_receipt']) && $receiptSend) { $formValues['contact_id'] = $this->_contactID; $formValues['contribution_id'] = $contributionId; -- 2.25.1