diff options
author | Pascal Terjan <pterjan@mageia.org> | 2020-11-26 17:44:52 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2020-11-26 17:44:52 +0000 |
commit | cc250dd8d25851ba0f53cfc3b944f0eb08335b95 (patch) | |
tree | ad3a89ed4ce628b4708304f1d9190d0cb805c064 /autobuild/results.php | |
parent | 1577a55fcfd865401b16eee0fa5e34cfd54f2ec1 (diff) | |
download | pkgsubmit-cc250dd8d25851ba0f53cfc3b944f0eb08335b95.tar pkgsubmit-cc250dd8d25851ba0f53cfc3b944f0eb08335b95.tar.gz pkgsubmit-cc250dd8d25851ba0f53cfc3b944f0eb08335b95.tar.bz2 pkgsubmit-cc250dd8d25851ba0f53cfc3b944f0eb08335b95.tar.xz pkgsubmit-cc250dd8d25851ba0f53cfc3b944f0eb08335b95.zip |
Fix more warnings
Diffstat (limited to 'autobuild/results.php')
-rw-r--r-- | autobuild/results.php | 4 |
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"); |