bug fix for 'recent changes' view
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3035 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
b928e2e05b
commit
513439bc10
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ class TrackDetails(object):
|
||||||
def user(self):
|
def user(self):
|
||||||
obj = util.getObjectForUid(self.track.userName)
|
obj = util.getObjectForUid(self.track.userName)
|
||||||
if obj is None:
|
if obj is None:
|
||||||
return dict(object=None, title=userName, url='')
|
return dict(object=None, title=self.track.userName, url='')
|
||||||
node = self.view.nodeView
|
node = self.view.nodeView
|
||||||
url = node is not None and node.getUrlForTarget(obj) or ''
|
url = node is not None and node.getUrlForTarget(obj) or ''
|
||||||
return dict(object=obj, title=obj.title, url=url)
|
return dict(object=obj, title=obj.title, url=url)
|
||||||
|
|
Loading…
Add table
Reference in a new issue