From 2a00b3fe06cb512135cd240364c7a84a0314cb19 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Wed, 26 Oct 2016 22:35:58 +0100 Subject: [PATCH 1/2] Fix syntax error --- app/Services/NoteService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'))) ) { From 37493c583fe1e148d6e9d8bd969b6129cfcaf6a8 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Wed, 26 Oct 2016 22:36:44 +0100 Subject: [PATCH 2/2] Bump version number --- changelog.md | 3 +++ 1 file changed, 3 insertions(+) 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