diff options
author | Steve P <Steve_P@blueyonder.co.uk> | 2010-06-21 19:21:42 -0700 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-06-21 19:21:42 -0700 |
commit | 90a16d9ea359d7b9888577ec711430387f3b3de5 (patch) | |
tree | 1c6521742c8d9bfc5eb50ef503fb025cbbd7f8db /Bugzilla/Group.pm | |
parent | 4acb2424e62cbd64bc92a5dec2cbe1e2b7096157 (diff) | |
download | bugs-90a16d9ea359d7b9888577ec711430387f3b3de5.tar bugs-90a16d9ea359d7b9888577ec711430387f3b3de5.tar.gz bugs-90a16d9ea359d7b9888577ec711430387f3b3de5.tar.bz2 bugs-90a16d9ea359d7b9888577ec711430387f3b3de5.tar.xz bugs-90a16d9ea359d7b9888577ec711430387f3b3de5.zip |
Bug 252005: Allow changing the captialization of a group name
r=mkanat, a=mkanat
Diffstat (limited to 'Bugzilla/Group.pm')
-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; } |