mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 21:00:50 +00:00
Bug 305771: Cannot create request flags with no requestee - Patch by Myk Melez <myk@mozilla.org> r=LpSolit a=justdave
This commit is contained in:
parent
37c69cf443
commit
47d29290a0
@ -803,8 +803,9 @@ sub FormToNewFlags {
|
||||
my $status = $cgi->param("flag_type-$type_id");
|
||||
trick_taint($status);
|
||||
|
||||
if ($status eq "?") {
|
||||
foreach my $login ($cgi->param("requestee_type-$type_id")) {
|
||||
my @logins = $cgi->param("requestee_type-$type_id");
|
||||
if ($status eq "?" && scalar(@logins) > 0) {
|
||||
foreach my $login (@logins) {
|
||||
my $requestee = new Bugzilla::User(login_to_id($login));
|
||||
push (@flags, { type => $flag_type ,
|
||||
target => $target ,
|
||||
|
Loading…
x
Reference in New Issue
Block a user