summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/pages/builds/download.php')
-rw-r--r--frontend/pages/builds/download.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/pages/builds/download.php b/frontend/pages/builds/download.php
index 8ce338c..c662cf1 100644
--- a/frontend/pages/builds/download.php
+++ b/frontend/pages/builds/download.php
@@ -43,7 +43,7 @@ function init_builds_download() {
}
function body_builds_download() {
global $S;
- readfile($S['file']);
+ readfile($S['builds_download']['file']);
// Log the download to db after sending data so hopefully HEAD requests won't artificially inflate the # of dls
$S['builds_download']['dl']->write();
}