소스 검색

#1235 Internal: DBObject API - external fields not up to date after changing the external key (though they seem to be in sync when inspecting the internal values, Get() does not return the expected value).

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4165 a333f486-631f-4898-b8df-5754b55c2be0
romainq 9 년 전
부모
커밋
daf4f2445f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      core/dbobject.class.php

+ 1 - 0
core/dbobject.class.php

@@ -383,6 +383,7 @@ abstract class DBObject implements iDisplay
 					if (($oDef->IsExternalField() || ($oDef instanceof AttributeFriendlyName)) && ($oDef->GetKeyAttCode() == $sAttCode))
 					{
 						$this->m_aCurrValues[$sCode] = $value->Get($oDef->GetExtAttCode());
+						$this->m_aLoadedAtt[$sCode] = true;
 					}
 				}
 			}