mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-28 13:08:45 +02:00
Fix link on external Key
This commit is contained in:
@@ -855,7 +855,7 @@ JS
|
||||
$aAttProperties['value_html'] = $oItem->Get($sAttCode.'_friendlyname');
|
||||
|
||||
// Checking if user can access object's external key
|
||||
$sObjectUrl = ApplicationContext::MakeObjectUrl($sClass, $oItem->Get($sAttCode));
|
||||
$sObjectUrl = ApplicationContext::MakeObjectUrl($oAttDef->GetTargetClass(), $oItem->Get($sAttCode));
|
||||
if (!empty($sObjectUrl)) {
|
||||
$aAttProperties['url'] = $sObjectUrl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user