aboutsummaryrefslogtreecommitdiffstats
path: root/en/downloads/get/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'en/downloads/get/index.php')
-rw-r--r--en/downloads/get/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/en/downloads/get/index.php b/en/downloads/get/index.php
index 24188e4e6..8f10eece9 100644
--- a/en/downloads/get/index.php
+++ b/en/downloads/get/index.php
@@ -201,7 +201,7 @@ if (!$download) {
if(!isset($product['magnet'])) {
$product['magnet'] = null;
}
-
+preg_match("/\D*(\d+.*)/", $product['size'], $product_size);
if ($debug)
$js_redirect = null;
@@ -229,7 +229,7 @@ if (!isset($_SERVER['APP_MODE']) || $_SERVER['APP_MODE'] == 'prod') {
<p><?php
echo
sprintf(_r('Your download of %s should start within a few seconds'), '<em class="tag">' . $product['name'] . '</em>' . ($torrent ? ' (torrent)' : '')),
- ' ', sprintf(_r('(download size is about %s).'), $product['size']),
+ ' ', sprintf(_r('(download size is about %s).'), $product_size[1]),
' ', sprintf(_r('If the download does not start, <a href="%s" rel="nofollow" title="%s">click here</a>.'), $download, $download),
sprintf( '%s', ($product['magnet'] ? ' | <a href="' . $product['magnet'] .'">Magnet</a>' : '' ));
?></p>