$statusMsg .= ' ' . ts('The membership End Date is %1.', array(1 => $endDate));
}
- if ($receiptSend) {
+ if (!empty($formValues['send_receipt']) && $receiptSend) {
$statusMsg .= ' ' . ts('A confirmation and receipt has been sent to %1.', array(1 => $this->_contributorEmail));
}
return $statusMsg;