mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix: Bad permission check
This commit is contained in:
parent
53979ad58c
commit
06f36fbfab
|
|
@ -79,7 +79,7 @@ class box_members extends ModeleBoxes
|
|||
|
||||
$this->info_box_head = array('text' => $langs->trans("BoxTitleLastModifiedMembers",$max));
|
||||
|
||||
if ($user->rights->societe->lire)
|
||||
if ($user->rights->adherent->lire)
|
||||
{
|
||||
$sql = "SELECT a.rowid, a.lastname, a.firstname, a.societe as company, a.fk_soc,";
|
||||
$sql.= " a.datec, a.tms, a.statut as status, a.datefin as date_end_subscription,";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user