Skip to content

Commit

Permalink
Fixed another test by fixing a mistake in previous commits
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Jan 14, 2015
1 parent 1afec41 commit 63a7531
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ORM/EagerLoader.php
Expand Up @@ -428,7 +428,7 @@ protected function _fixStrategies()
*/
protected function _correctStrategy($loadable, $alias)
{
$config = $loadable->config();
$config = $loadable->config();
$currentStrategy = isset($config['strategy']) ?
$config['strategy'] :
'join';
Expand All @@ -437,7 +437,8 @@ protected function _correctStrategy($loadable, $alias)
return;
}

$config = $config['strategy'] = Association::STRATEGY_SELECT;
$config['strategy'] = Association::STRATEGY_SELECT;
$loadable->config($config);
$loadable->canBeJoined(false);
}

Expand Down

0 comments on commit 63a7531

Please sign in to comment.