Skip to content

Commit

Permalink
Moved filename ($fn) to above headers... (DUH)
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@723 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Oct 15, 2003
1 parent 43163c8 commit 8929d51
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions admin/dumpgroup.php
Expand Up @@ -59,6 +59,9 @@
echo "</body></html>\n";
exit;
}

$fn = "group_$gid.sql";

$dumphead = "# SURVEYOR GROUP DUMP\n";
$dumphead .= "#\n# This is a dumped group from the PHPSurveyor Script\n";
$dumphead .= "# http://phpsurveyor.sourceforge.net/\n";
Expand Down Expand Up @@ -130,8 +133,6 @@ function BuildOutput($Query)
$lquery = "SELECT DISTINCT {$dbprefix}labels.lid, {$dbprefix}labels.code, {$dbprefix}labels.title, {$dbprefix}labels.sortorder FROM {$dbprefix}labels, {$dbprefix}questions WHERE {$dbprefix}labels.lid={$dbprefix}questions.lid AND type='F' AND gid=$gid";
$ldump = BuildOutput($lquery);

$fn = "group_$gid.sql";

// HTTP/1.0
echo "#<pre>\n";
echo $dumphead, $gdump, $qdump, $adump, $cdump, $lsdump, $ldump;
Expand Down

0 comments on commit 8929d51

Please sign in to comment.