Merge branch 'hotfix/0.0.8.1' into develop
This commit is contained in:
commit
9a0e2e7ed9
2 changed files with 7 additions and 2 deletions
|
@ -320,8 +320,10 @@ class MicropubClientController extends Controller
|
||||||
}
|
}
|
||||||
$syndicateTo = [];
|
$syndicateTo = [];
|
||||||
$data = json_decode($syndicationTargets, true);
|
$data = json_decode($syndicationTargets, true);
|
||||||
foreach ($syndicateTo['syndicate-to'] as $syn) {
|
if (array_key_exists('syndicate-to', $data)) {
|
||||||
$syndicateTo[] = $syn['uid'];
|
foreach ($data['syndicate-to'] as $syn) {
|
||||||
|
$syndicateTo[] = $syn['uid'];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (count($syndicateTo) > 0) {
|
if (count($syndicateTo) > 0) {
|
||||||
return $syndicateTo;
|
return $syndicateTo;
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
# Changelog
|
# 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)
|
## Version 0.0.8 (2016-07-13)
|
||||||
- Allow new notes to be made by a JSON request from a micropub client
|
- Allow new notes to be made by a JSON request from a micropub client
|
||||||
- Add DependencyCI support
|
- Add DependencyCI support
|
||||||
|
|
Loading…
Add table
Reference in a new issue