diff options
author | justdave%syndicomm.com <> | 2001-06-06 11:28:51 +0000 |
---|---|---|
committer | justdave%syndicomm.com <> | 2001-06-06 11:28:51 +0000 |
commit | 47741a5b1b1b10526a7c0b067dbba52668e50b09 (patch) | |
tree | 4ce484baf227af31b3e0a75a94fd8daf3845964e /doeditparams.cgi | |
parent | 45b240a6124c67436cea18f90e4a3330ba819441 (diff) | |
download | bugs-47741a5b1b1b10526a7c0b067dbba52668e50b09.tar bugs-47741a5b1b1b10526a7c0b067dbba52668e50b09.tar.gz bugs-47741a5b1b1b10526a7c0b067dbba52668e50b09.tar.bz2 bugs-47741a5b1b1b10526a7c0b067dbba52668e50b09.tar.xz bugs-47741a5b1b1b10526a7c0b067dbba52668e50b09.zip |
Fix for bug 28458: "NEW" bugs were not getting CC or QA Contact information displayed.
Patch by Jake Steenhagen <jake@acutex.net>
r= justdave@syndicomm.com
Diffstat (limited to 'doeditparams.cgi')
-rwxr-xr-x | doeditparams.cgi | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doeditparams.cgi b/doeditparams.cgi index 148946fef..3d95637fe 100755 --- a/doeditparams.cgi +++ b/doeditparams.cgi @@ -67,7 +67,13 @@ foreach my $i (@::param_list) { print "Changed $i.<br>\n"; # print "Old: '" . url_quote(Param($i)) . "'<BR>\n"; # print "New: '" . url_quote($::FORM{$i}) . "'<BR>\n"; - $::param{$i} = $::FORM{$i} + $::param{$i} = $::FORM{$i}; + # If the useqacontact Param is changing, update the mailheader + if ($i eq 'useqacontact') { + print " - Updating mailhead information<br>\n"; + SendSQL("UPDATE fielddefs SET mailhead = " . SqlQuote($::param{$i}) . + "WHERE name = 'qa_contact'"); + } } } |