From 161de866db2d4383643405041dd2f5bdf844f8fb Mon Sep 17 00:00:00 2001 From: Manuel Hiebel Date: Wed, 1 Jun 2016 21:48:14 +0200 Subject: fix select of right cached list even on website it was not the right used for dl (alternate mirror) --- en/downloads/get/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'en/downloads') 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); } -- cgit v1.2.1