diff --git a/htdocs/compta/paiement/cheque/index.php b/htdocs/compta/paiement/cheque/index.php index df2b999d830..33aff27af82 100644 --- a/htdocs/compta/paiement/cheque/index.php +++ b/htdocs/compta/paiement/cheque/index.php @@ -21,10 +21,10 @@ */ /** - \file htdocs/compta/paiement/cheque/liste.php - \ingroup compta - \brief Page liste des bordereau de remise de cheque - \version $Revision$ + \file htdocs/compta/paiement/cheque/index.php + \ingroup compta + \brief Page liste des bordereau de remise de cheque + \version $Revision$ */ require("./pre.inc.php"); diff --git a/htdocs/compta/paiement/cheque/liste.php b/htdocs/compta/paiement/cheque/liste.php index a49f7b2ba0c..a095c2868ce 100644 --- a/htdocs/compta/paiement/cheque/liste.php +++ b/htdocs/compta/paiement/cheque/liste.php @@ -36,7 +36,7 @@ $langs->load("bills"); $user->getrights("facture"); // Sécurité accés client -if (! $user->rights->facture->lire) +if (! $user->rights->facture->lire && ! $user->rights->adherent->cotisation->lire) accessforbidden(); $socid=0;