mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-12-25 05:52:32 +03:00
fix uninitialised rank variable when regrouping searches
This commit is contained in:
parent
760807c5e0
commit
919b1b42fa
@ -457,6 +457,7 @@ class Geocode
|
||||
continue;
|
||||
}
|
||||
|
||||
$iRank = $oSearch->getRank();
|
||||
if (!isset($aGroupedSearches[$iRank])) {
|
||||
$aGroupedSearches[$iRank] = array();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user