mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Merge pull request #1069 from radig/master
Ensure $sources is Array ( fix #3520 )
This commit is contained in:
commit
6e4d522a02
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ class CakeFixtureManager {
|
|||
return;
|
||||
}
|
||||
|
||||
$sources = $db->listSources();
|
||||
$sources = (array)$db->listSources();
|
||||
$table = $db->config['prefix'] . $fixture->table;
|
||||
$exists = in_array($table, $sources);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue