Commit 688ec34a authored by Max Kanat-Alexander's avatar Max Kanat-Alexander

Bug 577415: Allow positional parameters for XML-RPC, because Testopia

uses them. r=ghendricks, a=mkanat
parent d22980e7
......@@ -78,7 +78,10 @@ sub deserialize {
$som->{_bz_do_taint} = 1;
}
bless $som, 'Bugzilla::XMLRPC::SOM';
Bugzilla->input_params($som->paramsin || {});
my $params = $som->paramsin;
# This allows positional parameters for Testopia.
$params = {} if ref $params ne 'HASH';
Bugzilla->input_params($params);
return $som;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment