diff options
author | lpsolit%gmail.com <> | 2005-05-04 01:44:53 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-05-04 01:44:53 +0000 |
commit | e51425da1f1fe8ee831bfb8d4c091d9e08ae4dce (patch) | |
tree | f00cb30677e4c5759ca91186bf9bfd113baa88af /post_bug.cgi | |
parent | 3f138672bdd7fd4aba0b5c78b3541138174bd9f0 (diff) | |
download | bugs-e51425da1f1fe8ee831bfb8d4c091d9e08ae4dce.tar bugs-e51425da1f1fe8ee831bfb8d4c091d9e08ae4dce.tar.gz bugs-e51425da1f1fe8ee831bfb8d4c091d9e08ae4dce.tar.bz2 bugs-e51425da1f1fe8ee831bfb8d4c091d9e08ae4dce.tar.xz bugs-e51425da1f1fe8ee831bfb8d4c091d9e08ae4dce.zip |
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-x | post_bug.cgi | 9 |
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; |