diff --git a/index.php b/index.php index 007dcad137c..bd60c042e10 100644 --- a/index.php +++ b/index.php @@ -144,7 +144,7 @@ } // NOW LETS GATHER SOME INFORMATION ABOUT THIS PARTICULAR SURVEY (This happens on every page) -if ($sid) +if ($sid && $move != "clearall") { $desquery = "SELECT * FROM surveys WHERE sid=$sid"; $desresult = mysql_query($desquery) or die ("Couldn't get survey with sid of $sid
$desquery
".mysql_error()); @@ -203,7 +203,7 @@ $_SESSION['token'] = ""; echo "
\n 
\n"; echo "
All data has been deleted.
\n 
\n"; - echo "Close
\n
\n $sid
\n"; + echo "Close
\n
\n \n"; echo "\n"; exit; }