Version 0.0.13.7

Use the correct `laravel-postgis` method call
 -----BEGIN PGP SIGNATURE-----
 
 iPQEABMKAHwFAlf1LwJfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl
 bnBncC5maWZ0aGhvcnNlbWFuLm5ldDg0MTlCNUExRDg4NENBRjRCMEFGOEZCMzFC
 MkM3NkFGQjE2Qzg1OUIVHGpvbm55QGpvbm55YmFybmVzLnVrAAoJEBssdq+xbIWb
 +BIBfjZ82CP3bFjlSk19qtRmpUWvUf42A5j6Cq37urKB+/DI4fMyjsKx45dDCH/A
 zygWZgF/eX7qcsNRUkydn6RNxg5MOAuP7OR1gBqZ8vTQxfaGoMjB88/Mqqj1jgvv
 qtbN3zvi
 =xxVM
 -----END PGP SIGNATURE-----

Merge tag 'v0.0.13.7' into develop

Version 0.0.13.7

Use the correct `laravel-postgis` method call
This commit is contained in:
Jonny Barnes 2016-10-05 17:49:18 +01:00
commit 19d982580a
2 changed files with 5 additions and 2 deletions

View file

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

View file

@ -1,5 +1,8 @@
# 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)
- Syndicate lat/lng values (issue#22)