mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 07:44:35 -04:00
Merge pull request #4339 from beganovich/v5-fix-issue-with-invitation
(v5) Fix refernece to $invitation in QuoteEmailEngine
This commit is contained in:
commit
952899c8ec
@ -89,7 +89,7 @@ class QuoteEmailEngine extends BaseEmailEngine
|
|||||||
->setViewText(ctrans('texts.view_quote'));
|
->setViewText(ctrans('texts.view_quote'));
|
||||||
|
|
||||||
if ($this->client->getSetting('pdf_email_attachment') !== false) {
|
if ($this->client->getSetting('pdf_email_attachment') !== false) {
|
||||||
$this->setAttachments($invitation->pdf_file_path());
|
$this->setAttachments($this->invitation->pdf_file_path());
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user