1
0
mirror of synced 2024-12-13 14:56:01 +03:00

[Persisters] removed unused local variable in ManyToManyPersister class.

This commit is contained in:
Hugo Hamon 2012-01-12 19:39:37 +01:00 committed by Benjamin Eberlei
parent d4bcbd4741
commit d09b733cc3

View File

@ -180,7 +180,7 @@ class ManyToManyPersister extends AbstractCollectionPersister
// Composite identifier
$sourceClass = $this->_em->getClassMetadata(get_class($mapping->getOwner()));
foreach ($mapping['relationToSourceKeyColumns'] as $relColumn => $srcColumn) {
foreach ($mapping['relationToSourceKeyColumns'] as $srcColumn) {
$params[] = $identifier[$sourceClass->fieldNames[$srcColumn]];
}