mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Check is_countable in the DB.class.php
This commit is contained in:
parent
a641b3103a
commit
67a9aba082
1 changed files with 1 additions and 1 deletions
|
|
@ -902,7 +902,7 @@ class DB
|
|||
*/
|
||||
public function _dbInfoExists()
|
||||
{
|
||||
return ($this->master_db && count($this->slave_db));
|
||||
return ($this->master_db && (is_countable($this->slave_db) && count($this->slave_db)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue