Merge branch 'release/0.5.7'

This commit is contained in:
Jonny Barnes 2017-05-19 15:45:19 +01:00
commit 9e2b930634
2 changed files with 4 additions and 0 deletions

View file

@ -97,6 +97,7 @@ class MicropubController extends Controller
} }
$data['syndicate'] = []; $data['syndicate'] = [];
$targets = array_pluck(config('syndication.targets'), 'uid', 'service.name'); $targets = array_pluck(config('syndication.targets'), 'uid', 'service.name');
$mpSyndicateTo = null;
if ($request->has('mp-syndicate-to')) { if ($request->has('mp-syndicate-to')) {
$mpSyndicateTo = $request->input('mp-syndicate-to'); $mpSyndicateTo = $request->input('mp-syndicate-to');
} }

View file

@ -1,5 +1,8 @@
# Changelog # Changelog
## 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) ## Version 0.5.6 (2017-05-19)
- Update micropub code to support html-form and json syntax for mp-syndicate-to and photos - Update micropub code to support html-form and json syntax for mp-syndicate-to and photos