mirror of
https://github.com/Combodo/iTop.git
synced 2026-03-06 01:24:15 +01:00
#794 Could not export the field friendlyname in format 'spreadsheet'
SVN:trunk[2903]
This commit is contained in:
@@ -1245,9 +1245,12 @@ abstract class cmdbAbstractObject extends CMDBObject implements iDisplay
|
||||
if ($oAttDef instanceof AttributeFriendlyName)
|
||||
{
|
||||
$sKeyAttCode = $oAttDef->GetKeyAttCode();
|
||||
if ($oObj->Get($sKeyAttCode) == 0)
|
||||
if ($sKeyAttCode != 'id')
|
||||
{
|
||||
$rawValue = '';
|
||||
if ($oObj->Get($sKeyAttCode) == 0)
|
||||
{
|
||||
$rawValue = '';
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($bLocalize)
|
||||
|
||||
Reference in New Issue
Block a user