Skip to content
Snippets Groups Projects
Commit 93fd72a7 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: correction du chemin

parent 06844b22
No related branches found
No related tags found
No related merge requests found
......@@ -317,8 +317,7 @@ foreach($filearray as $key => $file)
{
$var=!$var;
print "<tr $bc[$var]><td>";
// TODO Chemin du fichier incorrecte
print '<a href="'.DOL_URL_ROOT.'/document.php?modulepart='.$modulepart.'&type=application/binary&file='.urlencode($prefix.$file['name']).'">';
print '<a href="'.DOL_URL_ROOT.'/document.php?modulepart='.$modulepart.'&type=application/binary&file='.urlencode($relativepath.$file['name']).'">';
print img_mime($file['name']).' ';
print $file['name'];
print '</a>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment