Fixing emails
This commit is contained in:
parent
c9473505ea
commit
06e35055d1
|
|
@ -676,6 +676,7 @@ class DocumentsController extends AppController {
|
|||
$this->Email->sendAs = 'both';
|
||||
$this->Email->charset = 'iso-8859-1';
|
||||
$this->set('enquiry', $enquiry);
|
||||
$this->set('document', $document);
|
||||
$this->set('DocFullName', $this->Document->getDocFullName($document['Document']['type']));
|
||||
if($this->Email->send()) {
|
||||
$this->Session->setFlash(__('The Email has been sent', true));
|
||||
|
|
|
|||
Loading…
Reference in a new issue