Skip to content

Commit

Permalink
Merge pull request #4067 from djbuch/patch-37
Browse files Browse the repository at this point in the history
[-] CORE : Error in foreign field name
  • Loading branch information
gRoussac committed Sep 23, 2015
2 parents acc7ed4 + 58a8349 commit 26e1e83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/PrestaShopCollection.php
Expand Up @@ -569,7 +569,7 @@ protected function getDefinition($association)
} else {
$current_def['complete_field'] = $current_def['field'];
}
$current_def['complete_foreign_field'] = $association.'.'.$current_def['field'];
$current_def['complete_foreign_field'] = $association.'.'.$current_def['foreign_field'];

$definition['is_lang'] = $is_lang;
$definition['asso'] = $current_def;
Expand Down

0 comments on commit 26e1e83

Please sign in to comment.