diff options
-rw-r--r-- | lib.php | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |