Skip to content

Commit

Permalink
Fixed bug in confirmation email - response id not being recorded and …
Browse files Browse the repository at this point in the history
…sent in email.

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@882 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Feb 2, 2004
1 parent 4509f39 commit cf54b9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions question.php
Expand Up @@ -241,6 +241,7 @@
if (mysql_query($subquery)) //submit was successful
{
//UPDATE COOKIE IF REQUIRED
$savedid=mysql_insert_id();
if ($surveyusecookie == "Y" && $tokensexist != 1) //don't use cookies if tokens are being used
{
$cookiename="PHPSID".returnglobal('sid')."STATUS";
Expand Down
1 change: 1 addition & 0 deletions survey.php
Expand Up @@ -262,6 +262,7 @@
if (mysql_query($subquery)) //save responses was succesful
{
//UPDATE COOKIE IF REQUIRED
$savedid=mysql_insert_id();
if ($surveyusecookie == "Y" && $tokensexist != 1)
{
$cookiename="PHPSID".returnglobal('sid')."STATUS";
Expand Down

0 comments on commit cf54b9a

Please sign in to comment.