From d12ab85835d77add3f072cf5adab03d2337d0379 Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Mon, 30 May 2011 16:19:19 +0000 Subject: downloads section is not only about ISOs but other products as well --- downloads.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'downloads.php') diff --git a/downloads.php b/downloads.php index 464d19688..f9d8c184d 100644 --- a/downloads.php +++ b/downloads.php @@ -44,6 +44,9 @@ $glob = array_shift($prods); $popularity = array_shift($prods); $i = 0; foreach ($prods as $k => $p) { + if (isset($p['hidden'])) { + continue; + } $iso = sprintf('%s-%s', $glob['prefix'], $k); $dl_link = sprintf('/%s/downloads/dl.php?product=%s', $locale, $iso); -- cgit v1.2.1