aboutsummaryrefslogtreecommitdiff
path: root/src/filedownload.php
diff options
context:
space:
mode:
authorCassio de Campos <cassiopc@gmail.com>2017-11-01 16:12:57 +0000
committerCassio de Campos <cassiopc@gmail.com>2017-11-01 16:12:57 +0000
commitbaeda9dea2639a9f717c6e851ee57be58f92f6f6 (patch)
tree0e6fa5f44b31fbd867dc083c18d613f490c39a30 /src/filedownload.php
parentf8d1ffa7c08687efd80c0e6fc2bdfd02b7d4e950 (diff)
downloadboca-baeda9dea2639a9f717c6e851ee57be58f92f6f6.tar.gz
boca-baeda9dea2639a9f717c6e851ee57be58f92f6f6.zip
transactions fixed to speed up
Diffstat (limited to 'src/filedownload.php')
-rw-r--r--src/filedownload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filedownload.php b/src/filedownload.php
index 92de694..6b56ca9 100644
--- a/src/filedownload.php
+++ b/src/filedownload.php
@@ -74,7 +74,7 @@ if ($_GET["oid"]>=0) {
header ("Content-Disposition: attachment; filename=" . basename($fname));
ob_end_flush();
- if (DB_lo_read_tobrowser ($_SESSION["usertable"]["contestnumber"],$lo) === false) {
+ if (DB_lo_read_tobrowser ($_SESSION["usertable"]["contestnumber"],$lo,$c) === false) {
echo "<html><head><title>Download Page</title>";
DBExec($c, "rollback work");
LOGError ("Unable to download file (" . basename($fname) . ")");