mirror of
https://github.com/Combodo/iTop.git
synced 2026-08-12 16:58:18 +02:00
N°9908 - GetAllowedValues from AttributeClassAttCodeSet return no value (#995)
This commit is contained in:
@@ -84,7 +84,7 @@ class AttributeClassAttCodeSet extends AttributeSet
|
||||
// Add attribute only if not already there (can be in leaf classes but not the root)
|
||||
if (!array_key_exists($sAttCode, $aAllAttributes)) {
|
||||
$oAttDef = MetaModel::GetAttributeDef($sClass, $sAttCode);
|
||||
$sAttDefClass = get_class($oAttDef);
|
||||
$sAttDefClass = $oAttDef->GetTypeShortClassName();
|
||||
|
||||
// Skip excluded attdefs
|
||||
if (isset($aExcludeDefs[$sAttDefClass])) {
|
||||
|
||||
Reference in New Issue
Block a user