diff --git a/public/include/classes/mail.class.php b/public/include/classes/mail.class.php index e25f3180..ca764b0c 100644 --- a/public/include/classes/mail.class.php +++ b/public/include/classes/mail.class.php @@ -67,7 +67,7 @@ class Mail extends Base { $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; if (strlen(@$aData['senderName']) > 0 && @strlen($aData['senderEmail']) > 0 ) $headers .= 'Reply-To: ' . $aData['senderName'] . ' <' . $aData['senderEmail'] . ">\n"; - if (mail($aData['email'], $this->smarty->fetch(BASEPATH . 'templates/mail/subject.tpl'), $this->smarty->fetch(BASEPATH . 'templates/mail/' . $template .$ + if (mail($aData['email'], $this->smarty->fetch(BASEPATH . 'templates/mail/subject.tpl'), $this->smarty->fetch(BASEPATH . 'templates/mail/' . $template . '.tpl'), $headers)) return true; $this->setErrorMessage($this->sqlError('E0031')); return false;