Merge pull request #840 from ASDFGamer/show-place-count

Show number of pictures per place
pull/807/merge
Varun Patil 2023-10-03 10:45:18 -07:00 committed by GitHub
commit f414c224c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ class PlacesBackend extends Backend
$lang = Util::getUserLang();
foreach ($places as &$row) {
$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);
}