Skip to content

Commit

Permalink
When displaying a list of sanity test failures, be sure to include
Browse files Browse the repository at this point in the history
the link to the failure message.
  • Loading branch information
dlangille committed Dec 3, 2017
1 parent cda87bf commit 5aa8ef5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion classes/sanity_test_failures.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 5aa8ef5

Please sign in to comment.