mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-08 02:54:08 +00:00
fix uninitialised rank variable when regrouping searches
This commit is contained in:
@@ -457,6 +457,7 @@ class Geocode
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$iRank = $oSearch->getRank();
|
||||||
if (!isset($aGroupedSearches[$iRank])) {
|
if (!isset($aGroupedSearches[$iRank])) {
|
||||||
$aGroupedSearches[$iRank] = array();
|
$aGroupedSearches[$iRank] = array();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user