Skip to content

Commit 299afae

Browse files
committed
Merge branch '1.0.x'
2 parents 7c0d06e + 3dde37b commit 299afae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Doctrine/ODM/MongoDB/Query/ReferencePrimer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ private function parseDotSyntaxForPrimer($fieldName, $class, $documents, $mappin
192192
}
193193

194194
$mapping = $class->fieldMappings[$e[0]];
195-
$e[0] = $mapping['name'];
195+
$e[0] = $mapping['fieldName'];
196196

197197
// Case of embedded document(s) to recurse through:
198198
if ( ! isset($mapping['reference'])) {

0 commit comments

Comments
 (0)