Update source of count value

pull/840/head
Christoph Wildhagen 2023-10-01 13:07:05 +02:00 committed by GitHub
parent f5f844e978
commit d7c55aa5a9
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(); $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'] = (int) $row['sub.count']; $row['count'] = (int) $row['count'];
self::choosePlaceLang($row, $lang); self::choosePlaceLang($row, $lang);
} }