From 90a16d9ea359d7b9888577ec711430387f3b3de5 Mon Sep 17 00:00:00 2001 From: Steve P Date: Mon, 21 Jun 2010 19:21:42 -0700 Subject: Bug 252005: Allow changing the captialization of a group name r=mkanat, a=mkanat --- Bugzilla/Group.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Group.pm') diff --git a/Bugzilla/Group.pm b/Bugzilla/Group.pm index 65df4ee81..f24eef735 100644 --- a/Bugzilla/Group.pm +++ b/Bugzilla/Group.pm @@ -437,7 +437,7 @@ sub _check_name { $name = trim($name); $name || ThrowUserError("empty_group_name"); # If we're creating a Group or changing the name... - if (!ref($invocant) || $invocant->name ne $name) { + if (!ref($invocant) || lc($invocant->name) ne lc($name)) { my $exists = new Bugzilla::Group({name => $name }); ThrowUserError("group_exists", { name => $name }) if $exists; } -- cgit v1.2.3-24-g4f1b