summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2012-01-21 01:02:54 +0000
committerPascal Terjan <pterjan@mageia.org>2012-01-21 01:02:54 +0000
commitc89f435c1f68f6c7a877e62b8a95ea5636e7fa78 (patch)
treec31342dea69ee08c541b6b961452d84e86da4fd4 /index.php
parent3969fb0fe0232f0aedcb20ceffbc3f51cf274852 (diff)
downloadpkgsubmit-c89f435c1f68f6c7a877e62b8a95ea5636e7fa78.tar
pkgsubmit-c89f435c1f68f6c7a877e62b8a95ea5636e7fa78.tar.gz
pkgsubmit-c89f435c1f68f6c7a877e62b8a95ea5636e7fa78.tar.bz2
pkgsubmit-c89f435c1f68f6c7a877e62b8a95ea5636e7fa78.tar.xz
pkgsubmit-c89f435c1f68f6c7a877e62b8a95ea5636e7fa78.zip
Fix what seems to be a bug, this condition can never be true
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 66f4846..e5f9835 100644
--- a/index.php
+++ b/index.php
@@ -166,7 +166,7 @@ foreach ($matches as $val) {
if ($ext == '.src.rpm.info') {
preg_match("!^(?:@\d+:)?(.*)!", $data, $name);
$pkgs[$key]['package'] = $name[1];
- } else if ($ext == '.src') {
+ } else if ($ext == '.src.rpm') {
$pkgs[$key]['status']['src'] = 1;
} else if ($ext == '.youri') {
$pkgs[$key]['status']['youri'] = 1;