diff --git a/app/Services/NoteService.php b/app/Services/NoteService.php index 18ec3907..5d1202b3 100644 --- a/app/Services/NoteService.php +++ b/app/Services/NoteService.php @@ -81,14 +81,14 @@ class NoteService //micropub request, syndication sent as array if ( - (is_array($request->input('syndicate-to')) + (is_array($request->input('syndicate-to'))) && (in_array('https://twitter.com/jonnybarnes', $request->input('syndicate-to'))) ) { dispatch(new SyndicateToTwitter($note)); } if ( - (is_array($request->input('syndicate-to')) + (is_array($request->input('syndicate-to'))) && (in_array('https://facebook.com/jonnybarnes', $request->input('syndicate-to'))) ) { diff --git a/changelog.md b/changelog.md index 0ba203d6..c8ecc077 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,8 @@ # Changelog +## Version 0.0.15.2 (2016-10-26) + - Fix: syntax error introduced in v0.0.15.1 + ## Version 0.0.15.1 (2016-10-26) - Add facebook as a syndication target