Closed
Bug 238864
Opened 21 years ago
Closed 21 years ago
remove %FORM and %COOKIE from move.pl
Categories
(Bugzilla :: Bugzilla-General, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: justdave, Assigned: kiko)
References
Details
Attachments
(1 file)
1.97 KB,
patch
|
justdave
:
review+
|
Details | Diff | Splinter Review |
This should be another easy one
82:if ( !defined $::FORM{'buglist'} ) {
108:foreach my $id (split(/:/, $::FORM{'buglist'})) {
129: if (defined $::FORM{'comment'} && $::FORM{'comment'} !~ /^\s*$/) {
130: $comment .= $::FORM{'comment'} . "\n\n";
146:my $buglist = $::FORM{'buglist'};
31:use vars qw($template $userid %COOKIE);
93:my $exporter = $::COOKIE{"Bugzilla_login"};
Reporter | ||
Updated•21 years ago
|
Assignee | ||
Comment 1•21 years ago
|
||
Note that I'm unable to test bug moving.
Assignee: nobody → kiko
Status: NEW → ASSIGNED
Assignee | ||
Updated•21 years ago
|
Target Milestone: --- → Bugzilla 2.18
Assignee | ||
Updated•21 years ago
|
Attachment #144995 -
Flags: review?(justdave)
Reporter | ||
Comment 2•21 years ago
|
||
Comment on attachment 144995 [details] [diff] [review]
kiko_v1: untested
looks good. Moving isn't well supported anyway, and is likely to get rewritten
soon anyway when I do the inter-bugzilla communication stuff :)
My only concern with this is:
+foreach my $id (split(/:/, $cgi->param('buglist'))) {
split() is a function, and as such, $cgi->param needs to be wrapped in scalar()
to prevent getting a return value in list context. r+ with that fixed.
Attachment #144995 -
Flags: review?(justdave) → review+
Reporter | ||
Updated•21 years ago
|
Flags: approval+
Updated•21 years ago
|
Severity: normal → enhancement
Assignee | ||
Comment 3•21 years ago
|
||
/cvsroot/mozilla/webtools/bugzilla/move.pl,v <-- move.pl
new revision: 1.26; previous revision: 1.25
Thanks.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•