diff --git a/classes/sanity_test_failures.php b/classes/sanity_test_failures.php index 4c71ef4c..c5e564ec 100644 --- a/classes/sanity_test_failures.php +++ b/classes/sanity_test_failures.php @@ -84,7 +84,9 @@ function CreateHTML() { $DisplayCommit->SetDaysMarkedAsNew($this->DaysMarkedAsNew); $DisplayCommit->SetUserID($this->UserID); $DisplayCommit->SetWatchListAsk($this->WatchListAsk); - $DisplayCommit->ShowLinkToSanityTestFailure = false; + if ($this->MessageID == '') { + $DisplayCommit->ShowLinkToSanityTestFailure = true; + } $RetVal = $DisplayCommit->CreateHTML();