From e03333b4dc6ed79f65eb9aa918c75d8bff4ee676 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Fri, 16 Dec 2022 15:07:43 +0100 Subject: [PATCH] IcingaNotificationForm: fix user groups field... ...detection refs #462 --- application/forms/IcingaNotificationForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/forms/IcingaNotificationForm.php b/application/forms/IcingaNotificationForm.php index 7a4bfaae..1cf2e4a2 100644 --- a/application/forms/IcingaNotificationForm.php +++ b/application/forms/IcingaNotificationForm.php @@ -176,7 +176,7 @@ class IcingaNotificationForm extends DirectorObjectForm $this->addElement('select', 'user_groups_var', [ 'label' => $this->translate('User Groups Custom Variable'), - 'multiOptions' => $this->enumDirectorObjectFields('user_group'), + 'multiOptions' => $this->enumDirectorObjectFields('usergroup'), 'description' => $this->translate( 'If defined, User Groups from this Custom Variable will be combined with single Groups chosen below. ' . ' e.g.: when set to notification_groups, this notification will pick User Groups from the Array'