Skip to content

Commit

Permalink
Fixed SendEmailMessage bug. ($this instead of $CI)
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_ci@10724 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
dionet committed Aug 14, 2011
1 parent 12f9381 commit cd05bb2
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions application/helpers/common_helper.php
Expand Up @@ -5287,15 +5287,15 @@ function SendEmailMessage($body, $subject, $to, $from, $sitename, $ishtml=false,
$CI =& get_instance();
$CI->config->load('email');
$clang = $CI->limesurvey_lang;
$emailmethod = $this->config->item("protocol");
$emailsmtphost = $this->config->item("emailsmtphost");
$emailsmtpuser = $this->config->item("emailsmtpuser");
$emailsmtppassword = $this->config->item("emailsmtppassword");
$emailsmtpdebug = $this->config->item("emailsmtpdebug");
$emailsmtpssl = $this->config->item("emailsmtpssl");
$defaultlang = $this->config->item("defaultlang");
$demoModeOnly = $this->config->item("demoModeOnly");
$emailcharset = $this->config->item("charset");
$emailmethod = $CI->config->item("protocol");
$emailsmtphost = $CI->config->item("emailsmtphost");
$emailsmtpuser = $CI->config->item("emailsmtpuser");
$emailsmtppassword = $CI->config->item("emailsmtppassword");
$emailsmtpdebug = $CI->config->item("emailsmtpdebug");
$emailsmtpssl = $CI->config->item("emailsmtpssl");
$defaultlang = $CI->config->item("defaultlang");
$demoModeOnly = $CI->config->item("demoModeOnly");
$emailcharset = $CI->config->item("charset");


if (!is_array($customheaders) && $customheaders == '')
Expand Down

0 comments on commit cd05bb2

Please sign in to comment.