diff --git a/websiteFunctions/website.py b/websiteFunctions/website.py index 66e06cf47..c490ce699 100755 --- a/websiteFunctions/website.py +++ b/websiteFunctions/website.py @@ -6898,7 +6898,7 @@ def ListDockerSites(self, request=None, userID=None, data=None, DeleteID=None): if DeleteID != None: DockerSitesDelete = DockerSites.objects.get(pk=DeleteID) - if ACLManager.checkOwnership(DockerSitesDelete.admin, admin, currentACL) == 1: + if ACLManager.checkOwnership(DockerSitesDelete.admin.domain, admin, currentACL) == 1: pass else: return ACLManager.loadError()