]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 398990: process_bug.cgi shouldn't check the 'reporter' field as this field is...
authorlpsolit%gmail.com <>
Thu, 18 Oct 2007 03:48:59 +0000 (03:48 +0000)
committerlpsolit%gmail.com <>
Thu, 18 Oct 2007 03:48:59 +0000 (03:48 +0000)
Bugzilla/Bug.pm
Bugzilla/BugMail.pm

index cc492ad417dc28f790ba9f83e28dfd683d671076..597fd5258fdea09017e10ea79c49a8fec9f028c9 100755 (executable)
@@ -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);
     }
index e771a98769291449e4d56525647af9aa1e31db9f..1f10714e8c8b33be81b5d59dfa3aff8571d2a234 100644 (file)
@@ -112,7 +112,7 @@ sub Send {
     }
 
     my %values = %{$dbh->selectrow_hashref(
-        'SELECT ' . join(',', editable_bug_fields()) . ',
+        'SELECT ' . join(',', editable_bug_fields()) . ', reporter,
                 lastdiffed AS start, LOCALTIMESTAMP(0) AS end
            FROM bugs WHERE bug_id = ?',
         undef, $id)};