From 1fb346da674aa59d253c5bc4064b0c4eb8708f7b Mon Sep 17 00:00:00 2001 From: Romain Quetiez Date: Wed, 1 Jun 2016 14:13:20 +0000 Subject: [PATCH] #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). SVN:trunk[4165] --- core/dbobject.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/dbobject.class.php b/core/dbobject.class.php index 54cc05e55..17d17e217 100644 --- a/core/dbobject.class.php +++ b/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; } } }