|
@@ -170,7 +170,7 @@ class Client {
|
|
|
|
|
|
$newClient = new Client();
|
|
$newClient = new Client();
|
|
$newClient->setupClient($this->_options);
|
|
$newClient->setupClient($this->_options);
|
|
- $newClient->setConnection($this->getConnection($connectionAlias));
|
|
|
|
|
|
+ $newClient->setConnection($connection);
|
|
return $newClient;
|
|
return $newClient;
|
|
}
|
|
}
|
|
|
|
|