Skip to content

Commit

Permalink
Added condition to "email confirmation" at end of survey. Does not at…
Browse files Browse the repository at this point in the history
…tempt to email if there is no email address in token table.

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@155 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Mar 26, 2003
1 parent eb7ae24 commit f9fd669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Expand Up @@ -365,7 +365,7 @@
$message .= "$surveyadminemail.\n\n";
$message .= "Sincerely,\n\n";
$message .= "$surveyadminname";
mail($to, $subject, $message, $headers);
if ($cnfrow['email']) {mail($to, $subject, $message, $headers);} //Only send confirmation email if there is an email address
}
}
}
Expand Down

0 comments on commit f9fd669

Please sign in to comment.