Version 0.0.14.4

Fix a bad call to explode() in syndicte job
 -----BEGIN PGP SIGNATURE-----
 
 iPQEABMKAHwFAlgH6+JfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl
 bnBncC5maWZ0aGhvcnNlbWFuLm5ldDg0MTlCNUExRDg4NENBRjRCMEFGOEZCMzFC
 MkM3NkFGQjE2Qzg1OUIVHGpvbm55QGpvbm55YmFybmVzLnVrAAoJEBssdq+xbIWb
 tVABgO8c2ldh3/f3J0RHJ1U4DV6JC4CKqdHk3+Xynnrm/munZWGc6QvOBXosXZOn
 94SdSwF/XclYBN3soZn7C6H9uhne4m4GZIfyH0s3qo1fzuGQvi8ncil1IvWXQI5v
 F8Z8Zumj
 =5bJC
 -----END PGP SIGNATURE-----

Merge tag 'v0.0.14.4' into develop

Version 0.0.14.4

Fix a bad call to explode() in syndicte job
This commit is contained in:
Jonny Barnes 2016-10-19 22:55:54 +01:00
commit 760ee673c6
2 changed files with 4 additions and 1 deletions

View file

@ -48,7 +48,7 @@ class SyndicateToTwitter implements ShouldQueue
if ($this->note->location) {
$explode = explode(':', $this->note->location);
$location = (count($explode) == 2) ? explode(',', $explode[0]) : explode(',', $explode);
$location = explode(',', $explode[0]); //the latlng will always be in [0]
$lat = trim($location[0]);
$lng = trim($location[1]);
}

View file

@ -1,5 +1,8 @@
# Changelog
## Version 0.0.14.4 (2016-10-19)
- Fix a bad explode() call in the syndicate job
## Version 0.0.14.3 (2016-10-19)
- Allow co-ordinates to be used for note location, reverse geocode place name will be used (w/o map)
- Switch from npm to yarn