diff --git a/lib/Doctrine/ORM/Cache/Region/DefaultRegion.php b/lib/Doctrine/ORM/Cache/Region/DefaultRegion.php index f4525ee11..94a4f56ba 100644 --- a/lib/Doctrine/ORM/Cache/Region/DefaultRegion.php +++ b/lib/Doctrine/ORM/Cache/Region/DefaultRegion.php @@ -120,7 +120,7 @@ class DefaultRegion implements Region $returnableItems = array(); foreach ($keysToRetrieve as $index => $key) { - $returnableItems[$index] = $items[$key]; + $returnableItems[$index] = $items[$index]; } return $returnableItems;