diff --git a/core/file_api.php b/core/file_api.php
index 2c56893..60cc2fc 100755
--- a/core/file_api.php
+++ b/core/file_api.php
@@ -306,7 +306,7 @@ function file_get_visible_attachments( $p_bug_id ) {
$t_attachment['diskfile'] = $t_diskfile;
if( $t_can_download ) {
- $t_attachment['download_url'] = "file_download.php?file_id=$t_id&type=bug";
+ $t_attachment['download_url'] = "file_download.php?file_id=$t_id&type=bug";
}
if( $image_previewed ) {
diff --git a/core/print_api.php b/core/print_api.php
index 4137ab5..01239a2 100644
--- a/core/print_api.php
+++ b/core/print_api.php
@@ -1574,7 +1574,7 @@ function print_bug_attachments_list( $p_bug_id ) {
} else {
echo $t_href_start;
print_file_icon( $t_file_display_name );
- echo $t_href_end . ' ' . $t_href_start . $t_file_display_name . $t_href_end . ' (' . $t_filesize . ' ' . lang_get( 'bytes' ) . ') ' . '' . $t_date_added . '';
+ echo $t_href_end . ' ' . $t_href_start . $t_file_display_name . $t_href_end . ' (' . $t_filesize . ' ' . lang_get( 'bytes' ) . ') ' . '' . $t_date_added . '';
if ( $t_attachment['can_delete'] ) {
echo ' [';