diff --git a/controllers/documents_controller.php b/controllers/documents_controller.php index 9b231d11..31a0ff17 100755 --- a/controllers/documents_controller.php +++ b/controllers/documents_controller.php @@ -638,8 +638,7 @@ class DocumentsController extends AppController { $this->Email->smtpOptions = Configure::read('smtp_settings'); $this->Email->delivery = 'smtp'; - $document = $this->Document->read(null,$id); - + $document = $this->Document->read(null,$id); if(empty($document['Document']['pdf_filename'])) { $this->Session->setFlash(__('Error. Please generate the PDF before attempting to email it', true)); diff --git a/views/elements/email/html/quote_email.ctp b/views/elements/email/html/quote_email.ctp index eca05f17..47b2bd3e 100755 --- a/views/elements/email/html/quote_email.ctp +++ b/views/elements/email/html/quote_email.ctp @@ -84,7 +84,7 @@ Instrumentation Fax: +61 2 9669 4111
-
AUSTRALIA                                                         +
AUSTRALIA                               Web: http://www.cmctechnologies.com.au