aboutsummaryrefslogtreecommitdiffstats
path: root/en/6/download_index.php
diff options
context:
space:
mode:
Diffstat (limited to 'en/6/download_index.php')
-rw-r--r--en/6/download_index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/en/6/download_index.php b/en/6/download_index.php
index e7887353b..4917f1189 100644
--- a/en/6/download_index.php
+++ b/en/6/download_index.php
@@ -22,7 +22,7 @@ function get_mageia($name, $version, $release)
return implode('-', array($name, $re));
}
-function get_mageia_image_file_name($name, $version, $release, $variant = null, $arch, $medium, $ext)
+function get_mageia_image_file_name($name, $version, $release, $variant, $arch, $medium, $ext)
{
$va = empty($variant) ? $arch : $variant . '-' . $arch;
$re = empty($release) ? $va : $release . '-' . $va;
@@ -30,7 +30,7 @@ function get_mageia_image_file_name($name, $version, $release, $variant = null,
return implode('-', array($name, $version, $re, $medium)) . $ext;
}
-function dl_link($name, $version, $release, $variant = null, $arch = 'i586', $medium, $torrent = false, $torrentavailable = true)
+function dl_link($name, $version, $release, $variant, $arch, $medium, $torrent = false, $torrentavailable = true)
{
switch ($arch) {
case "i586":