mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-20 09:08:42 +02:00
🐛 N°6043 - fix linkset attribute default handler impact
This commit is contained in:
@@ -1660,7 +1660,12 @@ class AttributeLinkedSet extends AttributeDefinition
|
||||
*/
|
||||
public function GetDisplayStyle()
|
||||
{
|
||||
return $this->GetOptional('display_style', LINKSET_DISPLAY_STYLE_TAB);
|
||||
$sDisplayStyle = $this->GetOptional('display_style', LINKSET_DISPLAY_STYLE_TAB);
|
||||
if ($sDisplayStyle === '') {
|
||||
$sDisplayStyle = LINKSET_DISPLAY_STYLE_TAB;
|
||||
}
|
||||
|
||||
return $sDisplayStyle;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user