diff --git a/views/twig/extensions/themes/default/page/details/inc/accordeon.html.twig b/views/twig/extensions/themes/default/page/details/inc/accordeon.html.twig index 4b2c2c6..849c3a6 100644 --- a/views/twig/extensions/themes/default/page/details/inc/accordeon.html.twig +++ b/views/twig/extensions/themes/default/page/details/inc/accordeon.html.twig @@ -4,17 +4,19 @@ {{ parent() }} {% set oManufacturer = oView.getManufacturer() %} - {% set sShopURL = config.getConfigParam('sShopURL') %} - {% set description = oManufacturer.d3GetLongdesc() %} + {% if oManufacturer && oManufacturer.getId() %} + {% set sShopURL = config.getConfigParam('sShopURL') %} + {% set description = oManufacturer.d3GetLongdesc() %} - {% if oManufacturer and config.d3GetBoolModuleSettingByName('_showManufacturertextOnDetailsPage') and description|striptags|trim %} -