소스 검색

Added <inherit_flags_from> to inherit the flags from another state.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3296 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 10 년 전
부모
커밋
3e37eac522
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      setup/compiler.class.inc.php

+ 1 - 2
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)