Try and add a random Example target

This commit is contained in:
Jonny Barnes 2017-02-24 11:28:52 +00:00
parent d08f3af75f
commit 83f5d6eb82
2 changed files with 4 additions and 2 deletions

View file

@ -322,7 +322,9 @@ class MicropubClientController extends Controller
private function parseSyndicationTargets($syndicationTargets = null)
{
if ($syndicationTargets === null) {
return;
return [
['target' => 'http://example.org', 'name' => 'Joe Bloggs on Example']
];
}
$syndicateTo = [];
$data = json_decode($syndicationTargets, true);