From 55d0475031dca7e1eac4f6a65a67496eb07d9f53 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 25 Jan 2024 22:00:51 -0800 Subject: Only show flaky icon if history is available This change was found on the server (probably by pterjan). --- autobuild/results.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = " $error"; } $history = get_build_history($packageid); - if (is_flaky($history)) { + if ($history && is_flaky($history)) { $history_link = $history_link . " "; } $langs = ""; -- cgit v1.2.1