From 8f0598f469c102588e082ea88f8fc33f660d6b1d Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Fri, 24 Jan 2003 08:27:28 +0000 Subject: 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 --- move.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'move.pl') 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"; -- cgit v1.2.3-24-g4f1b