PlaceLookup should return results in input order

This commit is contained in:
Sarah Hoffmann
2020-08-26 17:15:11 +02:00
parent 77a1329285
commit 9e1909643c

View File

@@ -452,11 +452,13 @@ class PlaceLookup
$aPlace, $aPlace,
$aPlace['country_code'] $aPlace['country_code']
); );
$aResults[$aPlace['place_id']] = $aPlace;
} }
Debug::printVar('Places', $aPlaces); Debug::printVar('Places', $aResults);
return $aPlaces; return $aResults;
} }
/* returns an array which will contain the keys /* returns an array which will contain the keys