From 0b5a577de3d811511cc700dcd2ac190c9afe8587 Mon Sep 17 00:00:00 2001 From: joshuaruesweg Date: Wed, 8 Sep 2021 13:53:42 +0200 Subject: [PATCH] Reset ACL field values within form cleanup --- .../system/form/builder/field/acl/AclFormField.class.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/wcfsetup/install/files/lib/system/form/builder/field/acl/AclFormField.class.php b/wcfsetup/install/files/lib/system/form/builder/field/acl/AclFormField.class.php index c741adc776..0dde488273 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/acl/AclFormField.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/acl/AclFormField.class.php @@ -165,4 +165,11 @@ class AclFormField extends AbstractFormField implements IObjectTypeFormNode { return $this; } + + /** + * @inheritDoc + */ + public function cleanup() { + ACLHandler::getInstance()->resetValues($this->getObjectType()->objectTypeID); + } } -- 2.20.1