summaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-05-04 03:44:53 +0200
committerlpsolit%gmail.com <>2005-05-04 03:44:53 +0200
commite51425da1f1fe8ee831bfb8d4c091d9e08ae4dce (patch)
treef00cb30677e4c5759ca91186bf9bfd113baa88af /post_bug.cgi
parent3f138672bdd7fd4aba0b5c78b3541138174bd9f0 (diff)
downloadbugzilla-e51425da1f1fe8ee831bfb8d4c091d9e08ae4dce.tar.gz
bugzilla-e51425da1f1fe8ee831bfb8d4c091d9e08ae4dce.tar.xz
Bug 248386: Add support for Alias to post_bug.cgi - Patch by Albert Ting <altlst@sonic.net> r=LpSolit a=justdave
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;