diff --git a/groups.php b/groups.php index a480fabfd..cb731149e 100644 --- a/groups.php +++ b/groups.php @@ -266,7 +266,7 @@ function edit_group(id) { $('#editName').prop("value", group['name']); for (var i = 0; i < cnt; i++) { console.log('Selected user: ' + selectedUsers[i]); - $('#editUsers option[value=' + selectedUsers[i] + ']').attr('selected',true).change(); + $('#editUsers option[value="' + selectedUsers[i] + '"]').attr('selected',true).change(); } }