summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 = "";