summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--autobuild/results.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/autobuild/results.php b/autobuild/results.php
index 19af284..f841cd0 100644
--- a/autobuild/results.php
+++ b/autobuild/results.php
@@ -120,10 +120,10 @@ while (!feof($status_file)) {
$failure[$rpm] = $status;
$parsed = parse_package($rpm);
$package = $parsed['package'];
- if(!$prev_failure[$package]) {
+ if(!array_key_exists($package, $prev_failure)) {
$broken[$rpm] = 1;
}
- if(!$packages[$package]) {
+ if(!array_key_exists($package, $packages)) {
$removed[$rpm] = 1;
} else {
$build_stat = stat("$base_dir/$rpm");