Commit 90a16d9e authored by Steve P's avatar Steve P Committed by Max Kanat-Alexander

Bug 252005: Allow changing the captialization of a group name

r=mkanat, a=mkanat
parent 4acb2424
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment