From e0946fe716dffb0852494c09c436b099fe593697 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 15 Mar 2006 06:47:23 +0000 Subject: =?UTF-8?q?Bug=20329022:=20Remove=20group=5Fname=5Fto=5Fid=20in=20?= =?UTF-8?q?favor=20of=20creating=20Group=20objects=20-=20Patch=20by=20R?= =?UTF-8?q?=C3=A9mi=20Zara=20=20r=3DLpSolit=20a=3Djus?= =?UTF-8?q?tdave?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- editgroups.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editgroups.cgi') diff --git a/editgroups.cgi b/editgroups.cgi index a2b33b3f9..d28d95f19 100755 --- a/editgroups.cgi +++ b/editgroups.cgi @@ -294,7 +294,7 @@ if ($action eq 'new') { undef, ($name, $desc, $regexp, $isactive)); my $gid = $dbh->bz_last_key('groups', 'id'); - my $admin = group_name_to_id('admin'); + my $admin = Bugzilla::Group->new({name => 'admin'})->id(); # Since we created a new group, give the "admin" group all privileges # initially. my $sth = $dbh->prepare('INSERT INTO group_group_map -- cgit v1.2.1