Skip to content

Commit

Permalink
Fixed error caused by $_POST['cquestion'] and $_POST['canswer'] on se…
Browse files Browse the repository at this point in the history
…rvers with register_globals turned on. unset $cquestion and $canswer after use.

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@274 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed May 1, 2003
1 parent 186cac8 commit 7e7e99f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion admin/conditions.php
Expand Up @@ -76,7 +76,8 @@
$result = mysql_query($query) or die ("Couldn't delete condition<br />$query<br />".mysql_error());
}


unset($cquestions);
unset($canswers);


// *******************************************************************
Expand Down

0 comments on commit 7e7e99f

Please sign in to comment.