Skip to content

Commit

Permalink
Fix supplier invoice permission on board
Browse files Browse the repository at this point in the history
Fix reading supplier invoice permission on main board
  • Loading branch information
joseplluis committed Jul 24, 2017
1 parent 73c7aa3 commit 5026249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/index.php
Expand Up @@ -448,7 +448,7 @@
}

// Number of supplier invoices (has paid)
if (! empty($conf->supplier_invoice->enabled) && ! empty($conf->facture->enabled) && $user->rights->facture->lire)
if (! empty($conf->supplier_invoice->enabled) && ! empty($conf->facture->enabled) && $user->rights->fournisseur->facture->lire)
{
include_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php';
$board=new FactureFournisseur($db);
Expand Down

0 comments on commit 5026249

Please sign in to comment.