diff --git a/setup/compiler.class.inc.php b/setup/compiler.class.inc.php index fe8efdfb2..74d2e3cf5 100644 --- a/setup/compiler.class.inc.php +++ b/setup/compiler.class.inc.php @@ -1093,8 +1093,7 @@ EOF; $sLifecycle .= " MetaModel::Init_DefineState(\n"; $sLifecycle .= " \"".$sState."\",\n"; $sLifecycle .= " array(\n"; - $sAttributeInherit = ''; - //$sAttributeInherit = $oState->GetChildText('inherit_flags', ''); // Seems easy but think about the consequences when applying a delta + $sAttributeInherit = $oState->GetChildText('inherit_flags_from', ''); $sLifecycle .= " \"attribute_inherit\" => '$sAttributeInherit',\n"; $oHighlight = $oState->GetUniqueElement('highlight', false); if ($oHighlight)