Merge pull request #1069 from radig/master

Ensure $sources is Array ( fix #3520 )
This commit is contained in:
José Lorenzo Rodríguez 2013-01-11 05:25:56 -08:00
commit 6e4d522a02

View file

@ -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);