From: lpsolit%gmail.com <> Date: Wed, 27 Aug 2008 06:57:00 +0000 (+0000) Subject: Fix bustage due to bug 446327 - Patch by me, r=mkanat X-Git-Tag: bugzilla-3.0.6~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=745fa0bdc25d4f150333fc1acb2bb3f96af1e727;p=thirdparty%2Fbugzilla.git Fix bustage due to bug 446327 - Patch by me, r=mkanat --- diff --git a/xmlrpc.cgi b/xmlrpc.cgi index 924610a0b2..c9c1e95d7c 100755 --- a/xmlrpc.cgi +++ b/xmlrpc.cgi @@ -30,10 +30,12 @@ eval 'use XMLRPC::Transport::HTTP; $@ && ThrowCodeError('soap_not_installed'); Bugzilla->usage_mode(Bugzilla::Constants::USAGE_MODE_WEBSERVICE); -local $SOAP::Constants::FAULT_SERVER = ERROR_UNKNOWN_FATAL; +local $SOAP::Constants::FAULT_SERVER; +$SOAP::Constants::FAULT_SERVER = ERROR_UNKNOWN_FATAL; # The line above is used, this one is ignored, but SOAP::Lite # might start using this constant (the correct one) for XML-RPC someday. -local $XMLRPC::Constants::FAULT_SERVER = ERROR_UNKNOWN_FATAL; +local $XMLRPC::Constants::FAULT_SERVER; +$XMLRPC::Constants::FAULT_SERVER = ERROR_UNKNOWN_FATAL; my %hook_dispatch; Bugzilla::Hook::process('webservice', { dispatch => \%hook_dispatch });