Wikivoyage to OBF migration: Work in progress 2.

This commit is contained in:
MadWasp79 2020-11-23 12:48:09 +02:00
parent e130c12ab0
commit df3c7f5ab5

View file

@ -198,7 +198,9 @@ public class TravelObfHelper implements TravelHelper{
Iterator<Amenity> it = articles.iterator(); Iterator<Amenity> it = articles.iterator();
while (it.hasNext()) { while (it.hasNext()) {
Amenity a = it.next(); Amenity a = it.next();
popularArticles.add(readArticle(a, language)); if (!a.getName(language).equals("")) {
popularArticles.add(readArticle(a, language));
}
} }
} }
} catch (Exception e) { } catch (Exception e) {