modify
This commit is contained in:
@@ -241,8 +241,6 @@ class Connection extends Pool
|
|||||||
try {
|
try {
|
||||||
if (empty($client) || !($client instanceof PDO)) {
|
if (empty($client) || !($client instanceof PDO)) {
|
||||||
$result = false;
|
$result = false;
|
||||||
} else if (!$client->getAttribute(PDO::ATTR_SERVER_INFO)) {
|
|
||||||
$result = false;
|
|
||||||
} else {
|
} else {
|
||||||
$result = true;
|
$result = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user