Commit 20046fd3 authored by Klaus Wölfel's avatar Klaus Wölfel Committed by Eteri

fix recursion when resolving portal_callables

parent a28bfa20
...@@ -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