From bbb397db20f250266b49d549a589dbba4d2f857e Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 11 Mar 2020 00:42:37 -0400 Subject: [PATCH] Use correct variable name for deny input value concatenation --- view/templates/acl_selector.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view/templates/acl_selector.tpl b/view/templates/acl_selector.tpl index c3abdad5bc..f1943cf3f6 100644 --- a/view/templates/acl_selector.tpl +++ b/view/templates/acl_selector.tpl @@ -259,9 +259,9 @@ $contact_deny_input.val(''); [].forEach.call($acl_deny_input.tagsinput('items'), function (item) { if (item.type === 'group') { - $group_deny_input.val($group_allow_input.val() + ',' + item.id); + $group_deny_input.val($group_deny_input.val() + ',' + item.id); } else { - $contact_deny_input.val($contact_allow_input.val() + ',' + item.id); + $contact_deny_input.val($contact_deny_input.val() + ',' + item.id); } }); });