From 3e4fcd1ac706c1fef9248fb4f4785464571db1e1 Mon Sep 17 00:00:00 2001 From: Bahfir Abbes Date: Mon, 11 May 2015 17:51:54 +0100 Subject: [PATCH] Update html.formfile.class.php in order to correct document lists in list of supplier invoices --- htdocs/core/class/html.formfile.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php index 0b00dc265f4..7870371a4ab 100644 --- a/htdocs/core/class/html.formfile.class.php +++ b/htdocs/core/class/html.formfile.class.php @@ -705,6 +705,9 @@ class FormFile if ($modulepart == 'export') { $relativepath = $file["name"]; } + if ($modulepart == 'facture_fournisseur') { + $relativepath = get_exdir($modulesubdir, 2). $modulesubdir. "/" . $file["name"]; + } // Show file name with link to download $out.= '