can use $conf->member

This commit is contained in:
Frédéric FRANCE 2021-03-20 19:09:49 +01:00
parent f6e7285949
commit d2f7d3064d
No known key found for this signature in database
GPG Key ID: 06809324E4B2ABC1

View File

@ -851,6 +851,10 @@ class Conf
if (isset($this->projet) && !isset($this->project)) {
$this->project = $this->projet;
}
// member is new use, adherent is old use still initialised
if (isset($this->adherent) && !isset($this->member)) {
$this->member = $this->adherent;
}
// Object $mc
if (!defined('NOREQUIREMC') && !empty($this->multicompany->enabled)) {