Default for when theres no syndicate to key
This commit is contained in:
parent
83f5d6eb82
commit
2bdfa7b96c
1 changed files with 2 additions and 0 deletions
|
@ -335,6 +335,8 @@ class MicropubClientController extends Controller
|
|||
'name' => $syn['name'],
|
||||
];
|
||||
}
|
||||
} else {
|
||||
$syndicateTo[] = ['target' => 'http://example.org', 'name' => 'Joe Bloggs on Example'];
|
||||
}
|
||||
if (count($syndicateTo) > 0) {
|
||||
return $syndicateTo;
|
||||
|
|
Loading…
Add table
Reference in a new issue