Skip to content

Commit

Permalink
Updates to work without register_globals
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@147 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Mar 25, 2003
1 parent 76387ef commit 9b6224f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions admin/export.php
Expand Up @@ -34,7 +34,11 @@
#############################################################
*/

$sid = $_GET['sid'];
$sid = $_GET['sid']; if (!$sid) {$sid=$_POST['sid'];}
$style = $_GET['style']; if (!$style) {$style=$_POST['style'];}
$answers = $_GET['answers']; if (!$answers) {$answers=$_POST['answers'];}
$type = $_GET['type']; if (!$type) {$type=$_POST['type'];}


if (!$style)
{
Expand Down Expand Up @@ -194,7 +198,7 @@
$legitqs[] = $lw['qid']; //this creates an array of question id's'
}

$surveytable = "survey_{$sid}";
$surveytable = "survey_$sid";

if ($_POST['sql']) //this applies if export has been called from the statistics package
{
Expand Down

0 comments on commit 9b6224f

Please sign in to comment.