diff options
author | justdave%syndicomm.com <> | 2003-01-24 08:27:28 +0000 |
---|---|---|
committer | justdave%syndicomm.com <> | 2003-01-24 08:27:28 +0000 |
commit | 8f0598f469c102588e082ea88f8fc33f660d6b1d (patch) | |
tree | 39a66d22f76f64c26fba0ae526730aca8cbdf619 /move.pl | |
parent | Bug 126955 - Bugzilla should support translated/localized templates. Patch by... (diff) | |
download | bugzilla-8f0598f469c102588e082ea88f8fc33f660d6b1d.tar.gz bugzilla-8f0598f469c102588e082ea88f8fc33f660d6b1d.tar.bz2 bugzilla-8f0598f469c102588e082ea88f8fc33f660d6b1d.zip |
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-x | move.pl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"; |