Small fix for region search
This commit is contained in:
parent
0db4ad0e10
commit
c6c9853396
1 changed files with 1 additions and 1 deletions
|
@ -853,7 +853,7 @@ public class ResourceManager {
|
|||
}
|
||||
|
||||
public AmenityIndexRepositoryBinary getWikiRepositoryByRegionName(String name) {
|
||||
if (name == null)
|
||||
if (name == null || name.isEmpty())
|
||||
return null;
|
||||
for (String filename : amenityRepositories.keySet()) {
|
||||
if ((filename.contains("_wiki")
|
||||
|
|
Loading…
Reference in a new issue