diff options
author | Pascal Terjan <pterjan@mageia.org> | 2020-11-25 22:22:56 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2020-11-25 22:22:56 +0000 |
commit | 40eed0894e2f8018643b6ce49c1826b4631866d9 (patch) | |
tree | 87dd0b8e19c1bba30746bb146350aa5e5bf2c3b1 /autobuild | |
parent | f4b00f96bfbfcefc4c18964d9f17b86b21edd66a (diff) | |
download | pkgsubmit-40eed0894e2f8018643b6ce49c1826b4631866d9.tar pkgsubmit-40eed0894e2f8018643b6ce49c1826b4631866d9.tar.gz pkgsubmit-40eed0894e2f8018643b6ce49c1826b4631866d9.tar.bz2 pkgsubmit-40eed0894e2f8018643b6ce49c1826b4631866d9.tar.xz pkgsubmit-40eed0894e2f8018643b6ce49c1826b4631866d9.zip |
Fix warnings
Diffstat (limited to 'autobuild')
-rw-r--r-- | autobuild/results.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/autobuild/results.php b/autobuild/results.php index 41e98b5..b81555c 100644 --- a/autobuild/results.php +++ b/autobuild/results.php @@ -248,11 +248,11 @@ foreach ($failure as $rpm => $error) { $parsed = parse_package($rpm); $history_link = '<a href="history.php?package='.$parsed['package'].'">History</a>'; $status_html = ""; - if ($fixed[$rpm]) { + if (array_key_exists($rpm, $fixed)) { $status_html = " <img src='icons/state-fixed.png' title='Fixed!' /> Fixed"; - } elseif ($removed[$rpm]) { + } elseif (array_key_exists($rpm, $removed)) { $status_html = " <img src='icons/state-removed.png' title='Removed' /> Removed"; - } elseif ($broken[$rpm]) { + } elseif (array_key_exists($rpm, $broken)) { $status_html = " <img src='icons/state-new.png' title='New!' /> New"; } $error_html = $error; |