fix case sensitivity for wiki links,9708

This commit is contained in:
Kseniia 2021-04-14 15:46:11 +03:00
parent 0c6a7128ea
commit ef4984f3ee

View file

@ -142,7 +142,7 @@ public class WikiArticleHelper {
public boolean publish(Amenity amenity) {
List<String> allNames = amenity.getAllNames(false);
for (String amenityName : allNames) {
if (name.equalsIgnoreCase(amenityName)) {
if (name.equals(amenityName)) {
results.add(amenity);
break;
}