mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
N°3594 - Fix label when an attribute is an external field on a remote external key
This commit is contained in:
@@ -7153,7 +7153,7 @@ class AttributeExternalField extends AttributeDefinition
|
||||
return $sLabel;
|
||||
}
|
||||
|
||||
if ($this->IsFriendlyName())
|
||||
if ($this->IsFriendlyName() && ($this->Get("target_attcode") === "friendlyname"))
|
||||
{
|
||||
// This will be used even if we are pointing to a friendlyname in a distance > 1
|
||||
// For example we can link to a magic friendlyname (like org_id_friendlyname)
|
||||
|
||||
Reference in New Issue
Block a user