diff --git a/htdocs/compta/index.php b/htdocs/compta/index.php index 814f490914a..56e186b7add 100644 --- a/htdocs/compta/index.php +++ b/htdocs/compta/index.php @@ -102,7 +102,7 @@ print '
| '; } @@ -214,7 +214,7 @@ if ($conf->facture->enabled && $user->rights->facture->lire) /** * Draft suppliers invoices */ -if ($conf->facture->enabled && $user->rights->facture->lire) +if ($conf->fournisseur->enabled && $user->rights->fournisseur->facture->lire) { $sql = "SELECT f.facnumber, f.rowid, f.total_ttc, f.type,"; $sql.= " s.nom, s.rowid as socid"; |