Skip to content

Commit

Permalink
Update RottenLinksPager.php
Browse files Browse the repository at this point in the history
  • Loading branch information
paladox authored Dec 11, 2023
1 parent 07d4aab commit 5a1cd57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/RottenLinksPager.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function formatValue( $name, $value ) {
$respCode = (int)$row->rl_respcode;
$colour = ( in_array( $respCode, $this->config->get( 'RottenLinksBadCodes' ) ) ) ? "#8B0000" : "#008000";
$formatted = ( $respCode != 0 )
? HTML::element( 'font', [ 'color' => $colour ], HttpStatus::getMessage( $respCode ) ?? "HTTP: ${respCode}" )
? HTML::element( 'font', [ 'color' => $colour ], HttpStatus::getMessage( $respCode ) ?? "HTTP: {$respCode}" )
: HTML::element( 'font', [ 'color' => '#8B0000' ], 'No Response' );
break;
case 'rl_pageusage':
Expand Down

0 comments on commit 5a1cd57

Please sign in to comment.