Skip to content

Commit

Permalink
Merge pull request #1069 from radig/master
Browse files Browse the repository at this point in the history
Ensure $sources is Array ( fix #3520 )
  • Loading branch information
lorenzo committed Jan 11, 2013
2 parents e369222 + 099ca31 commit 6e4d522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/TestSuite/Fixture/CakeFixtureManager.php
Expand Up @@ -175,7 +175,7 @@ protected function _setupTable($fixture, $db = null, $drop = true) {
return;
}

$sources = $db->listSources();
$sources = (array)$db->listSources();
$table = $db->config['prefix'] . $fixture->table;
$exists = in_array($table, $sources);

Expand Down

0 comments on commit 6e4d522

Please sign in to comment.