summaryrefslogtreecommitdiffstats
path: root/autobuild
diff options
context:
space:
mode:
authorDan Fandrich <danf@mageia.org>2024-01-25 22:00:51 -0800
committerDan Fandrich <danf@mageia.org>2024-01-25 22:01:06 -0800
commit55d0475031dca7e1eac4f6a65a67496eb07d9f53 (patch)
tree6d4d01228e3d5e81c3c7a2ca4eb1f4e3cea3246d /autobuild
parentfbb552b1dffde0905f1af4c0f25bebe8379ef412 (diff)
downloadpkgsubmit-55d0475031dca7e1eac4f6a65a67496eb07d9f53.tar
pkgsubmit-55d0475031dca7e1eac4f6a65a67496eb07d9f53.tar.gz
pkgsubmit-55d0475031dca7e1eac4f6a65a67496eb07d9f53.tar.bz2
pkgsubmit-55d0475031dca7e1eac4f6a65a67496eb07d9f53.tar.xz
pkgsubmit-55d0475031dca7e1eac4f6a65a67496eb07d9f53.zip
Only show flaky icon if history is available
This change was found on the server (probably by pterjan).
Diffstat (limited to 'autobuild')
-rw-r--r--autobuild/results.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/autobuild/results.php b/autobuild/results.php
index 3bbee74..3b2b124 100644
--- a/autobuild/results.php
+++ b/autobuild/results.php
@@ -386,7 +386,7 @@ foreach ($failure as $rpm => $error) {
$error_html = "<img src='icons/error-$error.png' title='$error'/> $error";
}
$history = get_build_history($packageid);
- if (is_flaky($history)) {
+ if ($history && is_flaky($history)) {
$history_link = $history_link . " <img src='icons/warning-flaky.png' title='Flaky build' />";
}
$langs = "";