Przeglądaj źródła

#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 lat temu
rodzic
commit
daf4f2445f
1 zmienionych plików z 1 dodań i 0 usunięć
  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;
 					}
 				}
 			}