diff options
Diffstat (limited to 'Bugzilla/Keyword.pm')
-rw-r--r-- | Bugzilla/Keyword.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Keyword.pm b/Bugzilla/Keyword.pm index aedc6bcfc..77c9f5f77 100644 --- a/Bugzilla/Keyword.pm +++ b/Bugzilla/Keyword.pm @@ -105,7 +105,7 @@ sub _check_name { # We only want to validate the non-existence of the name if # we're creating a new Keyword or actually renaming the keyword. - if (!ref($self) || $self->name ne $name) { + if (!ref($self) || lc($self->name) ne lc($name)) { my $keyword = new Bugzilla::Keyword({ name => $name }); ThrowUserError("keyword_already_exists", { name => $name }) if $keyword; } |