Commit fba3e513 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

WebSection: getLayoutProperty can be used with Static Web Section

parent 8af855cd
......@@ -180,7 +180,7 @@ class WebSection(Domain, DocumentExtensibleTraversableMixin):
acquiring it from the current section or its parents.
"""
section = aq_inner(self)
while section.getPortalType() in ('Web Section', 'Web Site'):
while section.getPortalType() in ('Web Section', 'Web Site', 'Static Web Section'):
result = section.getProperty(key, MARKER)
if result not in (MARKER, None):
return result
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment