Merge pull request #8824 from annando/fix-coord

Fix processing of received coordinates
This commit is contained in:
Tobias Diekershoff 2020-06-28 11:08:22 +02:00 committed by GitHub
commit 9bce7aa08f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -385,8 +385,8 @@ class Processor
$item['location'] = $activity['location'];
if (!empty($item['latitude']) && !empty($item['longitude'])) {
$item['coord'] = $item['latitude'] . ' ' . $item['longitude'];
if (!empty($activity['latitude']) && !empty($activity['longitude'])) {
$item['coord'] = $activity['latitude'] . ' ' . $activity['longitude'];
}
$item['app'] = $activity['generator'];