Skip to content

Commit

Permalink
Merge branch 'master' of github.com:LimeSurvey/LimeSurvey
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnoulle committed Nov 18, 2015
2 parents 307f380 + 435ab56 commit d0489fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions application/helpers/admin/token_helper.php
Expand Up @@ -81,6 +81,8 @@ function emailTokens($iSurveyID,$aResultTokens,$sType)
$from = $fieldsarray["{ADMINNAME}"] . ' <' . $fieldsarray["{ADMINEMAIL}"] . '>';
if($from == '')
$from = Yii::app()->getConfig('siteadminemail');
elseif (!empty($fieldsarray["{ADMINNAME}"]))
$from = $fieldsarray["{ADMINNAME}"]." <".$from.">";

foreach ($attributes as $attributefield)
{
Expand Down

0 comments on commit d0489fd

Please sign in to comment.