IcingaNotificationForm: fix user groups field...

...detection

refs #462
This commit is contained in:
Thomas Gelf 2022-12-16 15:07:43 +01:00
parent bacea2eeaa
commit e03333b4dc

View File

@ -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'