Commit 32655a42 authored by Yusei Tahara's avatar Yusei Tahara

Get acl_users from portal object directly to fix acquisition problem.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21515 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ef8294d2
......@@ -271,7 +271,7 @@ class PermanentURLMixIn(ExtensibleTraversableMixIn):
if user is _MARKER:
user = None # By default, do nothing
if old_user is None or old_user.getUserName() == 'Anonymous User':
user_folder = getToolByName(self, 'acl_users', None)
user_folder = getattr(self.getPortalObject(), 'acl_users', None)
if user_folder is not None:
try:
if request.get('PUBLISHED', _MARKER) is _MARKER:
......
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