Commit 6c097ab4 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

ERP5SecurePayment: use acl_users.getUser(SUPER_USER) instead of getUserById().

parent 43ee2d87
......@@ -66,7 +66,7 @@ class SecurePaymentTool(BaseTool):
user = getSecurityManager().getUser()
if not('Member' in user.getRoles()):
newSecurityManager(None,
self.getPortalObject().acl_users.getUserById(SUPER_USER))
self.getPortalObject().acl_users.getUser(SUPER_USER))
def _getParametersFromSelection(self,service,selection):
if selection is not None:
......
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