Commit 6cf152b1 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Support portal_skin parameter (in the same way as the rest of ERP5)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25560 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 86d1b939
......@@ -110,7 +110,7 @@ class WebSiteTraversalHook(Persistent):
# If a skin selection is defined in this web site, change the skin now.
skin_selection_name = container.getSkinSelectionName()
if skin_selection_name: # XXX missing support to portal_skin parameter
if skin_selection_name and request.get('portal_skin', None) is None:
container.getPortalObject().changeSkin(skin_selection_name)
# Set default language if any
......
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