summaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-xpost_bug.cgi9
1 files changed, 9 insertions, 0 deletions
diff --git a/post_bug.cgi b/post_bug.cgi
index 9bc87e593..9a4860409 100755
--- a/post_bug.cgi
+++ b/post_bug.cgi
@@ -144,6 +144,15 @@ my @bug_fields = ("version", "rep_platform",
"bug_status", "bug_file_loc", "short_desc",
"target_milestone", "status_whiteboard");
+if (Param("usebugaliases")) {
+ my $alias = trim($cgi->param('alias') || "");
+ if ($alias ne "") {
+ ValidateBugAlias($alias);
+ $cgi->param('alias', $alias);
+ push (@bug_fields,"alias");
+ }
+}
+
# Retrieve the default QA contact if the field is empty
if (Param("useqacontact")) {
my $qa_contact;