summaryrefslogtreecommitdiffstats
path: root/editgroups.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'editgroups.cgi')
-rwxr-xr-xeditgroups.cgi5
1 files changed, 5 insertions, 0 deletions
diff --git a/editgroups.cgi b/editgroups.cgi
index 086165bc8..52fa88b8c 100755
--- a/editgroups.cgi
+++ b/editgroups.cgi
@@ -213,6 +213,7 @@ if ($action eq 'new') {
isactive => scalar $cgi->param('isactive'),
icon_url => scalar $cgi->param('icon_url'),
isbuggroup => 1,
+ owner_user_id => scalar $cgi->param('owner'),
});
# Permit all existing products to use the new group if makeproductgroups.
@@ -397,6 +398,10 @@ sub doGroupChanges {
$group->set_icon_url($cgi->param('icon_url'));
}
+ if (defined $cgi->param('owner')) {
+ $group->set_owner($cgi->param('owner'));
+ }
+
my $changes = $group->update();
my $sth_insert = $dbh->prepare('INSERT INTO group_group_map