summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 8356c76a5..e64cdac76 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -599,7 +599,7 @@ SWITCH: for ($::FORM{'knob'}) {
intentionally cleared out the \"Reassign bug to\"
field, " . Param("browserbugmessage"));
}
- my $newid = DBNameToIdAndCheck($::FORM{'assigned_to'});
+ my $newid = DBNameToIdAndCheck(trim($::FORM{'assigned_to'}));
$::query .= "assigned_to = $newid";
last SWITCH;
};