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-4_0-BRANCH@260682 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user