Permalink
Browse files

the identifier needs to be the value, not the key here

  • Loading branch information...
1 parent c8992b0 commit 35be23fed865dfa4f0e51ba7de762120526489b3 @elHornair elHornair committed Feb 28, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Form/DataTransformer/ReferenceManyCollectionToArrayTransformer.php
@@ -38,7 +38,7 @@ public function transform($collection)
$arr = array();
foreach ($collection as $item) {
- $arr[$item->getPath()] = $item->getName();
+ $arr[] = $item->getPath();
}
return $arr;

0 comments on commit 35be23f

Please sign in to comment.