Skip to content

Commit

Permalink
Fixing another CS error
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Dec 15, 2013
1 parent 0e7f306 commit f8f78e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cake/ORM/Association/BelongsToMany.php
Expand Up @@ -699,7 +699,7 @@ protected function _collectJointEntities($sourceEntity, $targetEntities) {
$assocForeignKey = (array)$belongsTo->foreignKey();
$sourceKey = $sourceEntity->extract((array)$source->primaryKey());

foreach($missing as $key) {
foreach ($missing as $key) {
$unions[] = $junction->find('all')
->where(array_combine($foreignKey, $sourceKey))
->andWhere(array_combine($assocForeignKey, $key))
Expand Down

0 comments on commit f8f78e0

Please sign in to comment.