From cbe899690b15a9dda5731923af1c34eb64f49cd5 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 17 Apr 2011 19:27:19 +0000 Subject: [PATCH] New: Work on automatic ecm. --- htdocs/document.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/document.php b/htdocs/document.php index 2dcc58e4e71..e7ddb7ad1be 100644 --- a/htdocs/document.php +++ b/htdocs/document.php @@ -213,7 +213,7 @@ if ($modulepart) } // Wrapping pour les factures fournisseurs - else if ($modulepart == 'facture_fournisseur') + else if ($modulepart == 'facture_fournisseur' || $modulepart == 'invoice_supplier') { if ($user->rights->fournisseur->facture->lire || preg_match('/^specimen/i',$original_file)) {