Merge pull request #16847 from ptibogxiv/patch-419

FIx get optionnal in membertype with API
This commit is contained in:
Laurent Destailleur 2021-03-20 11:38:00 +01:00 committed by GitHub
commit 0e4d977549
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -479,6 +479,9 @@ class AdherentType extends CommonObject
if (!empty($conf->global->MAIN_MULTILANGS)) {
$this->getMultiLangs();
}
// fetch optionals attributes and labels
$this->fetch_optionals();
}
return 1;