fix freeside-sellfservice-xmlrpcd for implied hash :/
authorivan <ivan>
Wed, 16 Feb 2011 11:57:09 +0000 (11:57 +0000)
committerivan <ivan>
Wed, 16 Feb 2011 11:57:09 +0000 (11:57 +0000)
FS/FS/ClientAPI_XMLRPC.pm

index 48b94eb..f36e92e 100644 (file)
@@ -49,7 +49,7 @@ sub AUTOLOAD {
     #no strict 'refs';
     #&{$call}(@_);
     #FS::ClientAPI->dispatch($autoload->{$call}, @_);
-    FS::ClientAPI->dispatch($autoload->{$call}, @_ );
+    FS::ClientAPI->dispatch($autoload->{$call}, { @_ } );
   }else{
     die "No such procedure: $call";
   }
@@ -106,6 +106,7 @@ sub ss2clientapi {
   'new_customer'              => 'Signup/new_customer',
   'capture_payment'           => 'Signup/capture_payment',
   'clear_signup_cache'        => 'Signup/clear_cache',
+  'new_agent'                 => 'Agent/new_agent',
   'agent_login'               => 'Agent/agent_login',
   'agent_logout'              => 'Agent/agent_logout',
   'agent_info'                => 'Agent/agent_info',