Fix subject

This commit is contained in:
Karl Cordes 2021-09-19 15:15:09 +10:00
parent 999fc10999
commit ec16b25bb4
3 changed files with 3 additions and 3 deletions

View file

@ -41,7 +41,7 @@ error_reporting(E_ALL & ~E_STRICT & ~E_DEPRECATED);
* In production mode, flash messages redirect after a time interval.
* In development mode, you need to click the flash message to continue.
*/
Configure::write('debug', 0);
Configure::write('debug', 1);
Configure::write('version', '1.0.1');

View file

@ -11,7 +11,7 @@ class DATABASE_CONFIG {
'persistent' => false,
'host' => '172.17.0.1',
'login' => 'cmc',
'password' => 'xVRQI&cA?7AU=hqJ!%au',
'password' => 'cmc',
'database' => 'cmc',
'prefix' => '',
);

View file

@ -928,7 +928,7 @@ EOT;
return;
}
$this->Email->subject = $this->po_email_subject($document['PurchaseOrder']);
$subject = $this->po_email_subject($document['PurchaseOrder']);
$this->Email->to = $this->email_format($primary_contact['User']['email']);
$this->Email->replyTo = null;
$this->Email->cc = null;