Skip to content

Commit

Permalink
Fixed links to statistics script so that they aren't a register_globa…
Browse files Browse the repository at this point in the history
…ls issue

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@41 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Mar 16, 2003
1 parent 224022a commit c8e577a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/browse.php
Expand Up @@ -241,9 +241,9 @@
$tableheader .= " </TR>\n\n";

//NOW LETS SHOW THE DATA
if ($sql)
if ($_POST['sql'])
{
$dtquery = "SELECT * FROM $surveytable WHERE ".stripcslashes($sql)." ORDER BY id";
$dtquery = "SELECT * FROM $surveytable WHERE ".stripcslashes($_POST['sql'])." ORDER BY id";
}
else
{
Expand Down

0 comments on commit c8e577a

Please sign in to comment.