Commit e3e16b52 by Simon Champion

Fixes

parent 0173cf8b
...@@ -25,6 +25,7 @@ if (!defined('QA_VERSION')) { // don't allow this page to be requested directly ...@@ -25,6 +25,7 @@ if (!defined('QA_VERSION')) { // don't allow this page to be requested directly
exit; exit;
} }
require_once QA_INCLUDE_DIR . 'vendor/PHPMailer/class.phpmailer.php';
require_once QA_INCLUDE_DIR . 'db/selects.php'; //required for qa_db_select_with_pending() require_once QA_INCLUDE_DIR . 'db/selects.php'; //required for qa_db_select_with_pending()
require_once QA_INCLUDE_DIR . 'app/options.php'; //required for qa_opt() require_once QA_INCLUDE_DIR . 'app/options.php'; //required for qa_opt()
...@@ -121,6 +122,7 @@ class Q2A_Notifications_Email ...@@ -121,6 +122,7 @@ class Q2A_Notifications_Email
} }
return $send_status; return $send_status;
} }
return false;
} }
protected function buildSubs($subs) protected function buildSubs($subs)
......
...@@ -30,7 +30,7 @@ class Q2A_Notifications_Mailer extends PHPMailer ...@@ -30,7 +30,7 @@ class Q2A_Notifications_Mailer extends PHPMailer
{ {
public function __construct($params = array()) public function __construct($params = array())
{ {
parent::construct(); parent::__construct();
$this->CharSet = 'utf-8'; $this->CharSet = 'utf-8';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment