Merge branch 'hotfix/bad-explode'
This commit is contained in:
commit
afc8a7acdb
2 changed files with 4 additions and 1 deletions
|
@ -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]);
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue