mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 01:38:41 +00:00
fix tests
This commit is contained in:
parent
f498435a41
commit
5f551fe5f3
|
|
@ -75,7 +75,7 @@ final class DatabasePool implements DataStoragePoolInterface
|
|||
}
|
||||
|
||||
$con = empty($key) ? \reset($this->pool) : $this->pool[$key];
|
||||
if ($con->status !== DatabaseStatus::OK) {
|
||||
if ($con->getStatus() !== DatabaseStatus::OK) {
|
||||
$con->connect();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user