From 4ba507d435758660e035223bdf06e7851d711280 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sat, 9 May 2015 09:28:17 +0200 Subject: [PATCH] Fix displaying group-specific error messages --- .../install/files/lib/acp/form/UserGroupOptionForm.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/acp/form/UserGroupOptionForm.class.php b/wcfsetup/install/files/lib/acp/form/UserGroupOptionForm.class.php index e1a0a5dfdc..a0ca0106e2 100644 --- a/wcfsetup/install/files/lib/acp/form/UserGroupOptionForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UserGroupOptionForm.class.php @@ -169,7 +169,7 @@ class UserGroupOptionForm extends AbstractForm { $this->optionType->validate($this->userGroupOption, $optionValue); } catch (UserInputException $e) { - $this->errorType[$e->getField()] = $e->getType(); + $this->errorType[$groupID] = $e->getType(); } if (!$isAdmin && $this->optionType->compare($optionValue, WCF::getSession()->getPermission($this->userGroupOption->optionName)) == 1) { -- 2.20.1