Skip to content

Commit

Permalink
If email_register is empty, uses the default from the admin lang file…
Browse files Browse the repository at this point in the history
… when sending a registration email.

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@1019 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed May 9, 2004
1 parent 341d2fb commit 86d965f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion register.php
Expand Up @@ -59,7 +59,11 @@
$surveyemailregister = $esrow['email_register'];
}
if (!$surveyadminemail) {$surveyadminemail=$siteadminemail; $surveyadmin=$siteadminname;}

if (!$surveyemailregister)
{
//Get the default email_confirm from the default admin lang file
$surveyemailregister = str_replace("\n", "\r\n", _TC_EMAILREGISTER);
}
//Get the language file
$langdir="$publicdir/lang";
$langfilename="$langdir/$surveylanguage.lang.php";
Expand Down

0 comments on commit 86d965f

Please sign in to comment.