aboutsummaryrefslogtreecommitdiffstats
path: root/en/downloads/get/lib.php
diff options
context:
space:
mode:
authorManuel Hiebel <leuhmanu@mageia.org>2016-06-01 21:48:14 +0200
committerManuel Hiebel <leuhmanu@mageia.org>2016-06-01 21:48:14 +0200
commit161de866db2d4383643405041dd2f5bdf844f8fb (patch)
tree54cdff6c8d284456140f68eb5f489b432fdcc368 /en/downloads/get/lib.php
parent501bc64d8b0754c13da1145bc3ac267784a561ce (diff)
downloadwww-161de866db2d4383643405041dd2f5bdf844f8fb.tar
www-161de866db2d4383643405041dd2f5bdf844f8fb.tar.gz
www-161de866db2d4383643405041dd2f5bdf844f8fb.tar.bz2
www-161de866db2d4383643405041dd2f5bdf844f8fb.tar.xz
www-161de866db2d4383643405041dd2f5bdf844f8fb.zip
fix select of right cached list
even on website it was not the right used for dl (alternate mirror)
Diffstat (limited to 'en/downloads/get/lib.php')
-rw-r--r--en/downloads/get/lib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/en/downloads/get/lib.php b/en/downloads/get/lib.php
index cb15c423d..5894ad902 100644
--- a/en/downloads/get/lib.php
+++ b/en/downloads/get/lib.php
@@ -136,7 +136,7 @@ function get_mirrors_for($file, $locale = null, $country = null, $prod = true, $
$mirrors = Downloads::get_all_mirrors($prod, $documentation);
$wsd = new Downloads();
- $one = $wsd->prepare_download(true, $country);
+ $one = $wsd->prepare_download(true, $country, $prod, $documentation);
return array($one, $mirrors);
}