Commit f546c8a1 authored by Martijn Pieters's avatar Martijn Pieters

Fix _getContextName; does anyone test this stuff?

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