Commit 0c722288 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki Committed by Eteri

fixup! use getId() instead of __str__.

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