Merge branch 'hotfix/0.0.13.7'

This commit is contained in:
Jonny Barnes 2016-10-05 17:48:44 +01:00
commit 25c8bee7f1
2 changed files with 5 additions and 2 deletions

View file

@ -52,8 +52,8 @@ class SyndicateToTwitter implements ShouldQueue
$lng = trim($location[1]); $lng = trim($location[1]);
} }
if ($this->note->place) { if ($this->note->place) {
$lat = $this->note->place->getLat(); $lat = $this->note->place->location->getLat();
$lng = $this->note->place->getLng(); $lng = $this->note->place->location->getLng();
} }
if (isset($lat) && isset($lng)) { if (isset($lat) && isset($lng)) {
$tweetOpts['lat'] = $lat; $tweetOpts['lat'] = $lat;

View file

@ -1,5 +1,8 @@
# Changelog # Changelog
## Version 0.0.13.7 (2016-10-05)
- Use the correct `laravel-postgis` method call during syndication
## Version 0.0.13.6 (2016-10-05) ## Version 0.0.13.6 (2016-10-05)
- Syndicate lat/lng values (issue#22) - Syndicate lat/lng values (issue#22)