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) {
|
public boolean publish(Amenity amenity) {
|
||||||
List<String> allNames = amenity.getAllNames(false);
|
List<String> allNames = amenity.getAllNames(false);
|
||||||
for (String amenityName : allNames) {
|
for (String amenityName : allNames) {
|
||||||
if (name.equalsIgnoreCase(amenityName)) {
|
if (name.equals(amenityName)) {
|
||||||
results.add(amenity);
|
results.add(amenity);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue