handle empty page names correctly
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3448 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
d2a2cc4223
commit
834ccde51c
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ class TargetLayoutInstance(NodeLayoutInstance):
|
|||
if not ILayoutNode.providedBy(n):
|
||||
continue
|
||||
if n.nodeType == 'info' and n.viewName in names:
|
||||
if pageName != n.pageName:
|
||||
if pageName != (n.pageName or '').strip():
|
||||
continue
|
||||
layout = region.layouts[n.viewName]
|
||||
li = component.getAdapter(n, ILayoutInstance,
|
||||
|
|
Loading…
Add table
Reference in a new issue