]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Patch for bug 258711: move.pl should honour emailsuffix; patch by Marc Schumann ...
authorjocuri%softhome.net <>
Tue, 7 Dec 2004 01:07:54 +0000 (01:07 +0000)
committerjocuri%softhome.net <>
Tue, 7 Dec 2004 01:07:54 +0000 (01:07 +0000)
move.pl
process_bug.cgi
template/en/default/bug/show.xml.tmpl

diff --git a/move.pl b/move.pl
index 1e8036f01cc3d923d0cdde7d018378adc6eaff90..8218c4069984be840d79dc2fb5f14886360975d1 100755 (executable)
--- 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());
index 6ee94a161c1622d5f53c8efff39e934ffa906283..221bf58f038a566e2d6fcebbbb2f5d7ccf685dc0 100755 (executable)
@@ -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;
index 37cead53dae2fb0f7e44e60059fbb3e929d89247..8b29537a43cc19f040dc99806d7a80cca33f51d6 100644 (file)
@@ -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 %]
 >