Skip to content

Commit

Permalink
Forgot export rights check on submit aswell
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/phpsurveyor@2683 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
David Olivier committed Apr 3, 2007
1 parent 7ee0efa commit 3ffe84f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/vvexport.php
Expand Up @@ -69,7 +69,7 @@
</body>
</html>";
}
elseif (isset($surveyid) && $surveyid)
elseif (isset($surveyid) && $surveyid && $sumrows5['export'] == "1")
{
//Export is happening
header("Content-Disposition: attachment; filename=vvexport_$surveyid.xls");
Expand Down

0 comments on commit 3ffe84f

Please sign in to comment.