Skip to content

Commit

Permalink
Builds: don't display link to log if file does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
dregad committed Jan 12, 2017
1 parent 2e0fcb9 commit edcefea
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion builds.php
Expand Up @@ -269,10 +269,15 @@ function print_builds_list( $p_builds ) {
?>

<div>
<?php
if( $t_logfile ) {
?>
View the Nightly Builds script's
<a href="<?php echo $t_logfile['file']; ?>">Log File</a>
(<?php echo print_timestamp( $t_logfile['time'] ); ?>).

<?php
}
?>
<p>All times on this page are <?php echo date('T (\U\TCP)') ?>.</p>
</div>

Expand Down

0 comments on commit edcefea

Please sign in to comment.