diff --git a/main/document/document.inc.php b/main/document/document.inc.php
index 0828da27c1..c8ef78ed2d 100755
--- a/main/document/document.inc.php
+++ b/main/document/document.inc.php
@@ -228,9 +228,9 @@ function create_document_link($document_data, $show_as_icon = false) {
}
//target="'.$target.'"
if ($filetype == 'file') {
- return ''.$title.''.$force_download_html.$copy_to_myfiles.$open_in_new_window_link.$pdf_icon;
+ return ''.$title.''.$force_download_html.$copy_to_myfiles.$open_in_new_window_link.$pdf_icon;
} else {
- return ''.$title.''.$force_download_html.$copy_to_myfiles.$open_in_new_window_link.$pdf_icon;
+ return ''.$title.''.$force_download_html.$copy_to_myfiles.$open_in_new_window_link.$pdf_icon;
}
//end copy files to users myfiles
} else {