Commit 04534890 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fixup! use getId() instead of __str__.

parent 895557a9
...@@ -1425,7 +1425,7 @@ class SelectionTool( BaseTool, SimpleItem ): ...@@ -1425,7 +1425,7 @@ class SelectionTool( BaseTool, SimpleItem ):
user_id = tv.get('_user_id', None) user_id = tv.get('_user_id', None)
if user_id is not None: if user_id is not None:
return user_id return user_id
user_id = self.portal_membership.getAuthenticatedMember().getId() user_id = self.portal_membership.getAuthenticatedMember().getIdOrUserName()
tv['_user_id'] = user_id tv['_user_id'] = user_id
return user_id return user_id
......
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