]> 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:08:19 +0000 (01:08 +0000)
committerjocuri%softhome.net <>
Tue, 7 Dec 2004 01:08:19 +0000 (01:08 +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 c341dea7ea82fae6a69ea002bd54f01191302656..d0cc398f930a3244ad09b634f9bc0621ab48ed23 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 34219c2080913a4604f24ada590fad0a9f2442f8..a8227031b7e507ac5cb48d44f3d162ab32ad9063 100644 (file)
@@ -26,7 +26,7 @@
           urlbase="[% Param('urlbase') %]"
           maintainer="[% Param('maintainer') FILTER xml %]"
 [% IF user %]
-          exporter="[% user.login FILTER xml %]"
+          exporter="[% user.email FILTER xml %]"
 [% END %]
 >