From f5edf649e6ad4bb7dc5a411e6db9467571ab975c Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Fri, 19 May 2017 15:43:43 +0100 Subject: [PATCH 1/3] Make sure mpSyndicateTo variable exists --- app/Http/Controllers/MicropubController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Controllers/MicropubController.php b/app/Http/Controllers/MicropubController.php index b8505214..eb6f6ac1 100644 --- a/app/Http/Controllers/MicropubController.php +++ b/app/Http/Controllers/MicropubController.php @@ -97,6 +97,7 @@ class MicropubController extends Controller } $data['syndicate'] = []; $targets = array_pluck(config('syndication.targets'), 'uid', 'service.name'); + $mpSyndicateTo = null; if ($request->has('mp-syndicate-to')) { $mpSyndicateTo = $request->input('mp-syndicate-to'); } From 3e02f2d59d3f518522fe5729bf75c080e3c58e38 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Fri, 19 May 2017 15:44:38 +0100 Subject: [PATCH 2/3] Update changelog --- changelog.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/changelog.md b/changelog.md index e177b5a3..546ea288 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,8 @@ # Changelog +## Version {next} + - Hotfix: make sure `mpSyndicateTo` variable exists when accessed in if statements + ## Version 0.5.6 (2017-05-19) - Update micropub code to support html-form and json syntax for mp-syndicate-to and photos From 56d97396a4e853c89d054e70c3fee2283727cd5c Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Fri, 19 May 2017 15:45:13 +0100 Subject: [PATCH 3/3] Bump version number to 0.5.7 --- changelog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 546ea288..e4f9c44f 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,6 @@ # Changelog -## Version {next} +## Version 0.5.7 (2017-05-19) - Hotfix: make sure `mpSyndicateTo` variable exists when accessed in if statements ## Version 0.5.6 (2017-05-19)