summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2004-12-07 02:07:54 +0100
committerjocuri%softhome.net <>2004-12-07 02:07:54 +0100
commitc66a20756d1ff38efce0ffd4bd63ccf8651127c9 (patch)
treebbe66ad022abc421d9f62ede5da5a8b85a3850e6
parent0c57e438f7d8810660eeb5cf3f5c358a14f3b1ee (diff)
downloadbugzilla-c66a20756d1ff38efce0ffd4bd63ccf8651127c9.tar.gz
bugzilla-c66a20756d1ff38efce0ffd4bd63ccf8651127c9.tar.xz
Patch for bug 258711: move.pl should honour emailsuffix; patch by Marc Schumann <wurblzap@gmail.com>, r=justdave, a=justdave.
-rwxr-xr-xmove.pl3
-rwxr-xr-xprocess_bug.cgi2
-rw-r--r--template/en/default/bug/show.xml.tmpl2
3 files changed, 3 insertions, 4 deletions
diff --git a/move.pl b/move.pl
index 1e8036f01..8218c4069 100755
--- a/move.pl
+++ b/move.pl
@@ -161,8 +161,7 @@ foreach (@fieldlist) {
$displayfields{$_} = 1;
}
-$template->process("bug/show.xml.tmpl", { user => { login => $exporter },
- bugs => \@bugs,
+$template->process("bug/show.xml.tmpl", { bugs => \@bugs,
displayfields => \%displayfields,
}, \$msg)
|| ThrowTemplateError($template->error());
diff --git a/process_bug.cgi b/process_bug.cgi
index 6ee94a161..221bf58f0 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -559,7 +559,7 @@ if (defined $::FORM{action}) {
$action = trim($::FORM{action});
}
if (Param("move-enabled") && $action eq Param("move-button-text")) {
- $::FORM{'buglist'} = join (":", @idlist);
+ $cgi->param('buglist', join (":", @idlist));
do "move.pl" || die "Error executing move.cgi: $!";
PutFooter();
exit;
diff --git a/template/en/default/bug/show.xml.tmpl b/template/en/default/bug/show.xml.tmpl
index 37cead53d..8b29537a4 100644
--- a/template/en/default/bug/show.xml.tmpl
+++ b/template/en/default/bug/show.xml.tmpl
@@ -26,7 +26,7 @@
urlbase="[% Param('urlbase') %]"
maintainer="[% Param('maintainer') FILTER xml %]"
[% IF user.id %]
- exporter="[% user.login FILTER xml %]"
+ exporter="[% user.email FILTER xml %]"
[% END %]
>