diff --git a/product/ERP5/Document/WebSite.py b/product/ERP5/Document/WebSite.py index c731bf14a28bd765a66b6a49eda9b02f4ced7051..06ccfa09ce0aff3ab037cb54cb5133543d5018c7 100644 --- a/product/ERP5/Document/WebSite.py +++ b/product/ERP5/Document/WebSite.py @@ -203,7 +203,7 @@ class WebSite(Domain): user = portal.acl_users.getUserById(self.getWebmaster()) if user is not None: old_manager = getSecurityManager() - newSecurityManager(get_request(), user) + newSecurityManager(get_request(), user) # Should be cached per request XXX document = self.WebSite_getDocumentValue(portal, name) request[CACHE_KEY][name] = document if user is not None: