Merge pull request #840 from ASDFGamer/show-place-count
Show number of pictures per placepull/807/merge
commit
f414c224c7
|
@ -162,7 +162,7 @@ class PlacesBackend extends Backend
|
||||||
$lang = Util::getUserLang();
|
$lang = Util::getUserLang();
|
||||||
foreach ($places as &$row) {
|
foreach ($places as &$row) {
|
||||||
$row['osm_id'] = (int) $row['osm_id'];
|
$row['osm_id'] = (int) $row['osm_id'];
|
||||||
$row['count'] = $marked ? 0 : (int) $row['count']; // the count is incorrect
|
$row['count'] = (int) $row['count'];
|
||||||
self::choosePlaceLang($row, $lang);
|
self::choosePlaceLang($row, $lang);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue