diff --git a/app/Jobs/SyndicateToTwitter.php b/app/Jobs/SyndicateToTwitter.php index 8bc184a3..0ed814b5 100644 --- a/app/Jobs/SyndicateToTwitter.php +++ b/app/Jobs/SyndicateToTwitter.php @@ -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]); } diff --git a/changelog.md b/changelog.md index c6c76dce..b16f4441 100644 --- a/changelog.md +++ b/changelog.md @@ -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