From: Frédéric Buclin Date: Fri, 5 Feb 2010 22:06:21 +0000 (+0100) Subject: Bug 544506: Bugzilla->input_params is undefined when calling Bugzilla.version and... X-Git-Tag: bugzilla-3.6rc1~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d6c211e641aa96d4777588421baf34eb04bad82;p=thirdparty%2Fbugzilla.git Bug 544506: Bugzilla->input_params is undefined when calling Bugzilla.version and other methods taking no argument r/a=mkanat --- diff --git a/Bugzilla/WebService/Server/XMLRPC.pm b/Bugzilla/WebService/Server/XMLRPC.pm index 967235262b..f06f3081c0 100644 --- a/Bugzilla/WebService/Server/XMLRPC.pm +++ b/Bugzilla/WebService/Server/XMLRPC.pm @@ -78,7 +78,7 @@ sub deserialize { $som->{_bz_do_taint} = 1; } bless $som, 'Bugzilla::XMLRPC::SOM'; - Bugzilla->input_params($som->paramsin); + Bugzilla->input_params($som->paramsin || {}); return $som; }