Merge pull request #8824 from annando/fix-coord
Fix processing of received coordinates
This commit is contained in:
commit
9bce7aa08f
|
@ -385,8 +385,8 @@ class Processor
|
||||||
|
|
||||||
$item['location'] = $activity['location'];
|
$item['location'] = $activity['location'];
|
||||||
|
|
||||||
if (!empty($item['latitude']) && !empty($item['longitude'])) {
|
if (!empty($activity['latitude']) && !empty($activity['longitude'])) {
|
||||||
$item['coord'] = $item['latitude'] . ' ' . $item['longitude'];
|
$item['coord'] = $activity['latitude'] . ' ' . $activity['longitude'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$item['app'] = $activity['generator'];
|
$item['app'] = $activity['generator'];
|
||||||
|
|
Loading…
Reference in a new issue