diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2010-04-09 16:23:44 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2010-04-09 16:23:44 +0200 |
commit | 11856629aae4965ff7b7e4438b3446e34840aa89 (patch) | |
tree | 328edc411949ca16efaab3e3766b994e1c9450f6 | |
parent | 0cffc66026f78bc7ec1369b58bcde0dbd2b9de5f (diff) | |
download | bugzilla-11856629aae4965ff7b7e4438b3446e34840aa89.tar.gz bugzilla-11856629aae4965ff7b7e4438b3446e34840aa89.tar.xz |
Bug 558318: "Invalid Parameter for keywords" error thrown when creating a new bug
r=timello a=LpSolit
-rw-r--r-- | Bugzilla/Bug.pm | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index bfcca1076..3edab563a 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -478,15 +478,11 @@ sub create { my $groups = delete $params->{groups}; my $depends_on = delete $params->{dependson}; my $blocked = delete $params->{blocked}; + my $keywords = delete $params->{keywords}; my ($comment, $privacy) = ($params->{comment}, $params->{commentprivacy}); delete $params->{comment}; delete $params->{commentprivacy}; - # Set up the keyword cache for bug creation. - my $keywords = $params->{keywords}; - $params->{keywords} = join(', ', sort {lc($a) cmp lc($b)} - map($_->name, @$keywords)); - # We don't want the bug to appear in the system until it's correctly # protected by groups. my $timestamp = delete $params->{creation_ts}; |