diff options
-rw-r--r-- | index.php | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -47,7 +47,11 @@ try { $prev = false; $repositories = array(); - foreach ($repo->request(array('id' => '>0', 'ORDER'=>'id')) as $repo) { + $crit = array('id' => '>0', 'ORDER'=>'id'); + if (!isset($_GET['eol']) || !$_GET['eol']) { + $crit['active'] = 1; + } + foreach ($repo->request($crit) as $repo) { $repositories[] = array( 'repo_name' => ($repo['main'] != $prev ? $repo['main'] : " "), 'active' => ($repo['main'] != $prev ? |