Skip to content

Commit

Permalink
Fix attachment icon in print bug page
Browse files Browse the repository at this point in the history
Fixes #21139
  • Loading branch information
syncguru authored and dregad committed Aug 16, 2016
1 parent 49d57ad commit d7aa38b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion print_bug_page.php
Expand Up @@ -529,7 +529,9 @@
$c_filesize = number_format( $t_attachment['size'] );
$c_date_added = date( config_get( 'normal_date_format' ), $t_attachment['date_added'] );
if( isset( $t_attachment['icon'] ) ) {
echo '<img src="', $t_attachment['icon']['url'], '" alt="', $t_attachment['icon']['alt'], '" />&#160;';
echo '<i class="ace-icon fa fa-lg ', $t_attachment['icon']['url'], '" alt="', $t_attachment['icon']['alt'], '"></i>&#160;';
} else {
echo '<i class="ace-icon fa fa-paperclip fa-lg"></i>&#160;';
}

echo $c_filename . ' (' .$c_filesize . ') <span class="italic">' . $c_date_added . '</span><br />' . $c_download_url;
Expand Down

0 comments on commit d7aa38b

Please sign in to comment.