1
0
mirror of synced 2024-12-05 03:06:05 +03:00

Used index as key to retrieve proper entry

This commit is contained in:
Menno Holtkamp 2015-04-13 23:33:09 +02:00
parent 74964e7d85
commit c236a67096

View File

@ -120,7 +120,7 @@ class DefaultRegion implements Region
$returnableItems = array(); $returnableItems = array();
foreach ($keysToRetrieve as $index => $key) { foreach ($keysToRetrieve as $index => $key) {
$returnableItems[$index] = $items[$key]; $returnableItems[$index] = $items[$index];
} }
return $returnableItems; return $returnableItems;