Skip to content

Commit

Permalink
the identifier needs to be the value, not the key here
Browse files Browse the repository at this point in the history
  • Loading branch information
Alain Horner committed Feb 28, 2013
1 parent c8992b0 commit 35be23f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function transform($collection)
$arr = array();

foreach ($collection as $item) {
$arr[$item->getPath()] = $item->getName();
$arr[] = $item->getPath();
}

return $arr;
Expand Down

0 comments on commit 35be23f

Please sign in to comment.