diff options
author | lpsolit%gmail.com <> | 2008-08-27 08:54:05 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2008-08-27 08:54:05 +0200 |
commit | 68c8ee64ec7dc985931f17f98cb83ee153dcd25c (patch) | |
tree | d694d155f2502641d3c9082231553cfd0b748c16 | |
parent | fe1592095525f8622fcbceae6ae926634c096ec3 (diff) | |
download | bugzilla-68c8ee64ec7dc985931f17f98cb83ee153dcd25c.tar.gz bugzilla-68c8ee64ec7dc985931f17f98cb83ee153dcd25c.tar.xz |
Fix bustage due to bug 446327 - Patch by me, r=mkanat
-rwxr-xr-x | xmlrpc.cgi | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/xmlrpc.cgi b/xmlrpc.cgi index f2b0ef4d1..d5042eb8b 100755 --- a/xmlrpc.cgi +++ b/xmlrpc.cgi @@ -31,10 +31,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 }); |