From ff31168b1166a612cd704bc24c8f77dbdc679241 Mon Sep 17 00:00:00 2001 From: filip Date: Tue, 13 Apr 2021 15:43:12 +0200 Subject: remove unneeded deprecated 'optional parameter before required' in php8 --- en/4/download_index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'en/4') diff --git a/en/4/download_index.php b/en/4/download_index.php index 120d6fe77..8847a6956 100644 --- a/en/4/download_index.php +++ b/en/4/download_index.php @@ -8,14 +8,14 @@ $dictionary = read_translation_file($locale, array('4', 'common_footer')); require '../downloads/get/lib.php'; $rtl = is_locale_rtl($locale); -function get_mageia_image_file_name($variant = null, $arch, $medium, $ext) +function get_mageia_image_file_name($variant, $arch, $medium, $ext) { $va = empty($variant) ? $arch : $variant . '-' . $arch; return implode('-', array('Mageia','4.1', $va, $medium)) . $ext; } -function dl_link($variant = null, $arch = 'i586', $medium, $torrent = false, $unavailabletorrent = false) +function dl_link($variant, $arch, $medium, $torrent = false, $unavailabletorrent = false) { switch ($arch) { case "i586": -- cgit v1.2.1