Skip to content

Commit

Permalink
Modified: If no survey admin email or admin name is present, uses con…
Browse files Browse the repository at this point in the history
…fig.php defaults.

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@856 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Jan 29, 2004
1 parent 1c1df9e commit b11561a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions group.php
Expand Up @@ -284,6 +284,8 @@
$to = $cnfrow['email'];
$subject = _CONFIRMATION.": $surveyname "._SURVEYCPL;
$message="";
if (!$surveyadminemail) {$surveyadminemail=$siteadminemail;}
if (!$surveyadminname) {$surveyadmin=$siteadminname;}
foreach (file("$thistpl/confirmationemail.pstpl") as $ce)
{
$add=$ce;
Expand Down
2 changes: 2 additions & 0 deletions question.php
Expand Up @@ -265,6 +265,8 @@
$to = $cnfrow['email'];
$subject = _CONFIRMATION.": $surveyname "._SURVEYCPL;
$message="";
if (!$surveyadminemail) {$surveyadminemail=$siteadminemail;}
if (!$surveyadminname) {$surveyadmin=$siteadminname;}
foreach (file("$thistpl/confirmationemail.pstpl") as $ce)
{
$add=$ce;
Expand Down
2 changes: 2 additions & 0 deletions survey.php
Expand Up @@ -289,6 +289,8 @@
$to = $cnfrow['email'];
$subject = _CONFIRMATION.": $surveyname "._SURVEYCPL;
$message="";
if (!$surveyadminemail) {$surveyadminemail=$siteadminemail;}
if (!$surveyadminname) {$surveyadmin=$siteadminname;}
foreach (file("$thistpl/confirmationemail.pstpl") as $ce)
{
$add=$ce;
Expand Down

0 comments on commit b11561a

Please sign in to comment.