diff options
author | Steve P <Steve_P@blueyonder.co.uk> | 2010-06-22 04:21:42 +0200 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-06-22 04:21:42 +0200 |
commit | 90a16d9ea359d7b9888577ec711430387f3b3de5 (patch) | |
tree | 1c6521742c8d9bfc5eb50ef503fb025cbbd7f8db | |
parent | 4acb2424e62cbd64bc92a5dec2cbe1e2b7096157 (diff) | |
download | bugzilla-90a16d9ea359d7b9888577ec711430387f3b3de5.tar.gz bugzilla-90a16d9ea359d7b9888577ec711430387f3b3de5.tar.xz |
Bug 252005: Allow changing the captialization of a group name
r=mkanat, a=mkanat
-rw-r--r-- | Bugzilla/Group.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |