Skip to content

Commit

Permalink
Fixed bug related to $sid variable and final (action="completed" step…
Browse files Browse the repository at this point in the history
…). No longer attempts to find survey, since this is not necessary.

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@190 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Apr 4, 2003
1 parent 15be5f9 commit 811c890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Expand Up @@ -144,7 +144,7 @@
}

// NOW LETS GATHER SOME INFORMATION ABOUT THIS PARTICULAR SURVEY (This happens on every page)
if ($sid && $move != "clearall")
if ($sid && $move != "clearall" && $move != "completed")
{
$desquery = "SELECT * FROM surveys WHERE sid=$sid";
$desresult = mysql_query($desquery) or die ("Couldn't get survey with sid of $sid<br />$desquery<br />".mysql_error());
Expand Down

0 comments on commit 811c890

Please sign in to comment.