Merge branch 'hotfix/0.0.8.1' into develop

This commit is contained in:
Jonny Barnes 2016-07-13 16:40:07 +01:00
commit 9a0e2e7ed9
2 changed files with 7 additions and 2 deletions

View file

@ -320,9 +320,11 @@ class MicropubClientController extends Controller
}
$syndicateTo = [];
$data = json_decode($syndicationTargets, true);
foreach ($syndicateTo['syndicate-to'] as $syn) {
if (array_key_exists('syndicate-to', $data)) {
foreach ($data['syndicate-to'] as $syn) {
$syndicateTo[] = $syn['uid'];
}
}
if (count($syndicateTo) > 0) {
return $syndicateTo;
}

View file

@ -1,5 +1,8 @@
# Changelog
## Version 0.0.8.1 (2016-07-13)
- Fix anh issue in the syndication target parsing method
## Version 0.0.8 (2016-07-13)
- Allow new notes to be made by a JSON request from a micropub client
- Add DependencyCI support