Working on tests

This commit is contained in:
Hillel Coren 2018-02-13 21:27:00 +02:00
parent b07462ec4a
commit ffb052e19c

View File

@ -122,7 +122,7 @@ class Mailer
$notes = isset($data['notes']) ? $data['notes'] : false; $notes = isset($data['notes']) ? $data['notes'] : false;
if ($proposal = $data['proposal']) { if (! empty($data['proposal'])) {
$invitation->markSent($messageId); $invitation->markSent($messageId);
} else { } else {
$invoice->markInvitationSent($invitation, $messageId, true, $notes); $invoice->markInvitationSent($invitation, $messageId, true, $notes);