Changeset 21444 for branches/version-2_12-dev/data/class/pages/admin/order/LC_Page_Admin_Order_Mail.php
- Timestamp:
- 2012/02/06 21:27:04 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/admin/order/LC_Page_Admin_Order_Mail.php
r21441 r21444 171 171 172 172 $this->tpl_subject = $objFormParam->getValue('subject'); 173 $this->tpl_body = mb_convert_encoding( $objSendMail->body, CHAR_CODE, 'auto' 173 $this->tpl_body = mb_convert_encoding( $objSendMail->body, CHAR_CODE, 'auto'); 174 174 $this->tpl_to = $objSendMail->tpl_to; 175 175 $this->tpl_mainpage = 'order/mail_confirm.tpl'; … … 189 189 $where = "template_id = ?"; 190 190 $mailTemplates = $objQuery->select("subject, header, footer", "dtb_mailtemplate", $where, array($objFormParam->getValue('template_id'))); 191 if (!is_null($mailTemplates 191 if (!is_null($mailTemplates)) { 192 192 foreach (array('subject','header','footer') as $key) { 193 193 $objFormParam->setValue($key,$mailTemplates[$key]);
Note: See TracChangeset
for help on using the changeset viewer.