summaryrefslogtreecommitdiffstats
path: root/lib.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib.php')
-rw-r--r--lib.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib.php b/lib.php
index 05fe74f..8fd00eb 100644
--- a/lib.php
+++ b/lib.php
@@ -83,6 +83,8 @@ function get_refined_packages_list($list_of_files, $package = null, $user = null
'package' => ''
);
}
+
+ $status = '';
if ($val[1] != 'failure') {
// failures are detected with .fail files
$status = $val[1];
@@ -138,7 +140,9 @@ function get_refined_packages_list($list_of_files, $package = null, $user = null
}
}
- $pkgs[$key]['status'][$status] = 1;
+ if ($status !== '') {
+ $pkgs[$key]['status'][$status] = 1;
+ }
}
// filter packages if a package name was provided