summaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-xpost_bug.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/post_bug.cgi b/post_bug.cgi
index 42e550fbd..c04e34db0 100755
--- a/post_bug.cgi
+++ b/post_bug.cgi
@@ -124,7 +124,7 @@ if ($::FORM{'assigned_to'} eq "") {
"WHERE program=$sql_product AND value=$sql_component");
$::FORM{'assigned_to'} = FetchOneColumn();
} else {
- $::FORM{'assigned_to'} = DBNameToIdAndCheck($::FORM{'assigned_to'});
+ $::FORM{'assigned_to'} = DBNameToIdAndCheck(trim($::FORM{'assigned_to'}));
}
my @bug_fields = ("product", "version", "rep_platform",