Commit c7479550 authored by Martijn Pieters's avatar Martijn Pieters

Merge r109473 from the 2.12 branch

parent 70142d10
...@@ -62,7 +62,7 @@ class AbsoluteURL(BrowserView): ...@@ -62,7 +62,7 @@ class AbsoluteURL(BrowserView):
def _getContextName(self, context): def _getContextName(self, context):
if getattr(context, 'getId', None) is not None: if getattr(context, 'getId', None) is not None:
return context.getId() return context.getId()
getattr(context, '__name__', None) return getattr(context, '__name__', None)
def breadcrumbs(self): def breadcrumbs(self):
context = self.context context = self.context
......
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