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

uses them.
r=ghendricks, a=mkanat


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-3_6-BRANCH@260682 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkanat%bugzilla.org 2010-07-08 20:35:21 +00:00
parent 7aac252cde
commit ae02bd3cf9
2 changed files with 5 additions and 2 deletions

View File

@ -1 +1 @@
7124
7125

View File

@ -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;
}