summaryrefslogtreecommitdiffstats
path: root/move.pl
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2003-01-24 09:27:28 +0100
committerjustdave%syndicomm.com <>2003-01-24 09:27:28 +0100
commit8f0598f469c102588e082ea88f8fc33f660d6b1d (patch)
tree39a66d22f76f64c26fba0ae526730aca8cbdf619 /move.pl
parentb996f2f722e069d479b6f948c4a7e271beab166a (diff)
downloadbugzilla-8f0598f469c102588e082ea88f8fc33f660d6b1d.tar.gz
bugzilla-8f0598f469c102588e082ea88f8fc33f660d6b1d.tar.xz
Bug 106918: the "movers" param was not being interpreted correctly by move.pl or the show_bug template. Also the exporter value was not properly fed into the xml template.
r= myk, a= justdave
Diffstat (limited to 'move.pl')
-rwxr-xr-xmove.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/move.pl b/move.pl
index 4807bf6d9..7d3d84553 100755
--- a/move.pl
+++ b/move.pl
@@ -86,7 +86,7 @@ if ( !defined $::FORM{'buglist'} ) {
my $exporter = $::COOKIE{"Bugzilla_login"};
my $movers = Param("movers");
-$movers =~ s/\w?,\w?/|/g;
+$movers =~ s/\s?,\s?/|/g;
$movers =~ s/@/\@/g;
unless ($exporter =~ /($movers)/) {
print "Content-type: text/html\n\n";
@@ -149,7 +149,7 @@ $from =~ s/@/\@/;
$msg .= "From: Bugzilla <" . $from . ">\n";
$msg .= "Subject: Moving bug(s) $buglist\n\n";
-$template->process("bug/show.xml.tmpl", { bugs => \@bugs }, \$msg)
+$template->process("bug/show.xml.tmpl", { user => { login => $exporter }, bugs => \@bugs }, \$msg)
|| ThrowTemplateError($template->error());
$msg .= "\n";