summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Bug.pm
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-10-18 05:48:59 +0200
committerlpsolit%gmail.com <>2007-10-18 05:48:59 +0200
commitc6ede85fc67cefea141519c2b767cdcc600995ee (patch)
tree26214b20c014330d0898a82603c30e54a480abd4 /Bugzilla/Bug.pm
parentcc932cda1c16d3e4963111094189977f000f4b6a (diff)
downloadbugzilla-c6ede85fc67cefea141519c2b767cdcc600995ee.tar.gz
bugzilla-c6ede85fc67cefea141519c2b767cdcc600995ee.tar.xz
Bug 398990: process_bug.cgi shouldn't check the 'reporter' field as this field is not editable - Patch by fedor ezeev <fe@alterplast.ru> r/a=LpSolit
Diffstat (limited to 'Bugzilla/Bug.pm')
-rwxr-xr-xBugzilla/Bug.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm
index cc492ad41..597fd5258 100755
--- a/Bugzilla/Bug.pm
+++ b/Bugzilla/Bug.pm
@@ -2400,7 +2400,7 @@ sub editable_bug_fields {
# Obsolete custom fields are not editable.
my @obsolete_fields = Bugzilla->get_fields({obsolete => 1, custom => 1});
@obsolete_fields = map { $_->name } @obsolete_fields;
- foreach my $remove ("bug_id", "creation_ts", "delta_ts", "lastdiffed", @obsolete_fields) {
+ foreach my $remove ("bug_id", "reporter", "creation_ts", "delta_ts", "lastdiffed", @obsolete_fields) {
my $location = lsearch(\@fields, $remove);
splice(@fields, $location, 1);
}