fix case sensitivity for wiki links,9708
This commit is contained in:
parent
0c6a7128ea
commit
ef4984f3ee
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue