diff --git a/grails-app/taglib/streama/AssetSettingTagLib.groovy b/grails-app/taglib/streama/AssetSettingTagLib.groovy index 830be8645..20583bf6c 100644 --- a/grails-app/taglib/streama/AssetSettingTagLib.groovy +++ b/grails-app/taglib/streama/AssetSettingTagLib.groovy @@ -16,6 +16,10 @@ class AssetSettingTagLib { def linkRelIconSetting = { attribs -> def setting = attribs['setting'] + if(!setting){ + return + } + out << '' } @@ -27,6 +31,9 @@ class AssetSettingTagLib { def altText = "" if(alt) altText = 'alt="'+alt+'"' + if(!setting){ + return + } out << '' } @@ -34,6 +41,10 @@ class AssetSettingTagLib { def setting = attribs['setting'] def selector = attribs['selector'] + if(!setting){ + return + } + out << '