fix : warning: Undefined property: stdClass:: in C:\wamp64\www\dolibarr-dev\htdocs\core\boxes\box_members_last_subscriptions.php on line 70
This commit is contained in:
parent
f8609a4619
commit
d9110a8114
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ class box_members_last_subscriptions extends ModeleBoxes
|
|||
$this->enabled = 0; // disabled for external users
|
||||
}
|
||||
|
||||
$this->hidden = !($user->rights->adherent->lire);
|
||||
$this->hidden = !(!empty($conf->adherent->enabled) &&$user->rights->adherent->lire);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue