Commit b9f5bb5c authored by Klaus Wölfel's avatar Klaus Wölfel Committed by Ivan Tyagov

fix recursion when resolving portal_callables

parent 174c9bd3
...@@ -142,7 +142,11 @@ def CMFCoreSkinnableSkinnableObjectManager_changeSkin(self, skinname, REQUEST=No ...@@ -142,7 +142,11 @@ def CMFCoreSkinnableSkinnableObjectManager_changeSkin(self, skinname, REQUEST=No
if sf is not None: if sf is not None:
skinname = sf.getDefaultSkin() skinname = sf.getDefaultSkin()
tid = get_ident() tid = get_ident()
SKINDATA[tid] = (None, skinname, {'portal_skins': None}, {}) SKINDATA[tid] = (
None,
skinname,
{'portal_skins': None, 'portal_callables': None},
{})
if REQUEST is None: if REQUEST is None:
REQUEST = getattr(self, 'REQUEST', None) REQUEST = getattr(self, 'REQUEST', None)
if REQUEST is not None: if REQUEST is not None:
......
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