modify plugin name
This commit is contained in:
@@ -93,7 +93,7 @@ class Connection extends Component
|
|||||||
if ($isMaster == false) {
|
if ($isMaster == false) {
|
||||||
return $this->_get($config, $coroutineName);
|
return $this->_get($config, $coroutineName);
|
||||||
}
|
}
|
||||||
if (($pdo = Context::getContext($coroutineName)) instanceof PDO) {
|
if (!(($pdo = Context::getContext($coroutineName)) instanceof PDO)) {
|
||||||
$pdo = Context::setContext($coroutineName, $this->_get($config, $coroutineName));
|
$pdo = Context::setContext($coroutineName, $this->_get($config, $coroutineName));
|
||||||
}
|
}
|
||||||
return $pdo;
|
return $pdo;
|
||||||
|
|||||||
Reference in New Issue
Block a user