From: Steve P Date: Tue, 22 Jun 2010 02:22:27 +0000 (-0700) Subject: Bug 252005: Allow changing the captialization of a group name X-Git-Tag: bugzilla-3.6.1~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab62383b65a5eb1afa62a4a326ea7001d0e58bcc;p=thirdparty%2Fbugzilla.git Bug 252005: Allow changing the captialization of a group name r=mkanat, a=mkanat --- diff --git a/Bugzilla/Group.pm b/Bugzilla/Group.pm index 65df4ee816..f24eef7359 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; }