FIx get optionnal in membertype with API

This commit is contained in:
ptibogxiv 2021-03-19 12:39:38 +01:00 committed by GitHub
parent 3df866518d
commit a9398e5630
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;