From: Matthias Schmidt Date: Sat, 9 May 2015 07:28:17 +0000 (+0200) Subject: Fix displaying group-specific error messages X-Git-Tag: 2.1.4~27 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4ba507d435758660e035223bdf06e7851d711280;p=GitHub%2FWoltLab%2FWCF.git Fix displaying group-specific error messages --- 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) {