🐛 N°6043 - fix linkset attribute default handler impact

This commit is contained in:
Benjamin Dalsass
2023-03-21 07:55:22 +01:00
parent d8d8756623
commit 4a9c3d3582
2 changed files with 9 additions and 4 deletions

View File

@@ -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;
}
/**