diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php index bfd84a1795e..49ecd40b4e8 100644 --- a/htdocs/core/class/html.formfile.class.php +++ b/htdocs/core/class/html.formfile.class.php @@ -1202,8 +1202,6 @@ class FormFile } // Preview link if (! $editline) print $this->showPreview($file, $modulepart, $filepath); - // Public share link - //if (! $editline && ! empty($filearray[$key]['hashp'])) print pictowithlinktodirectdownload; print "\n"; @@ -1280,7 +1278,7 @@ class FormFile $fulllink=$urlwithroot.'/document.php'.($paramlink?'?'.$paramlink:''); print img_picto($langs->trans("FileSharedViaALink"), 'object_globe.png').' '; - print ''; + print ''; } else {