diff options
author | Manuel Hiebel <leuhmanu@mageia.org> | 2019-07-09 23:44:12 +0200 |
---|---|---|
committer | Manuel Hiebel <leuhmanu@mageia.org> | 2019-07-09 23:44:12 +0200 |
commit | f17f6c3e974fa0e6e03034df6af1c8c1c616d5de (patch) | |
tree | ba9963d285e06b0df48c12c91c5ae4c72b226822 /en/downloads | |
parent | 4ed352df26ccf375c375b90c3485beccb38fbae8 (diff) | |
download | www-f17f6c3e974fa0e6e03034df6af1c8c1c616d5de.tar www-f17f6c3e974fa0e6e03034df6af1c8c1c616d5de.tar.gz www-f17f6c3e974fa0e6e03034df6af1c8c1c616d5de.tar.bz2 www-f17f6c3e974fa0e6e03034df6af1c8c1c616d5de.tar.xz www-f17f6c3e974fa0e6e03034df6af1c8c1c616d5de.zip |
remove the "around" in the size (from get/index.php)
Diffstat (limited to 'en/downloads')
-rw-r--r-- | en/downloads/alternative/index.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/en/downloads/alternative/index.php b/en/downloads/alternative/index.php index ac8000a9a..955cf0e1e 100644 --- a/en/downloads/alternative/index.php +++ b/en/downloads/alternative/index.php @@ -73,7 +73,8 @@ foreach ($ini as $section => $values) { } else { $magnet = ""; } - $size = $values['size']; + preg_match("/\D*(\d+.*)/", $values['size'], $product_size); + $size = $product_size[1]; if ($release == $current) { $tableCurrent .= TableContent($section, $name, $torrent, $magnet, $size); |