Skip to content

Commit

Permalink
Fixed bug when passing params to Xmlrpc methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Pliakas committed Feb 20, 2014
1 parent b49299e commit 20147c3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Magento/Client/Xmlrpc/MagentoXmlrpcClient.php
Expand Up @@ -87,7 +87,6 @@ public function call($method, array $params = array())
$this->getConfig()->set('session', $session);
}

$params = array_merge(array($session, $method), $params);
return $this->client->call('call', $params);
return $this->client->call('call', array($session, $method, $params));
}
}

0 comments on commit 20147c3

Please sign in to comment.