Use array for syndicate-to to allow multiple values
This commit is contained in:
parent
898ac157fb
commit
327a8a4650
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ class MicropubClientController extends Controller
|
||||||
if ($request->input('syndicate-to')) {
|
if ($request->input('syndicate-to')) {
|
||||||
foreach ($request->input('syndicate-to') as $syn) {
|
foreach ($request->input('syndicate-to') as $syn) {
|
||||||
$multipart[] = [
|
$multipart[] = [
|
||||||
'name' => 'syndicate-to',
|
'name' => 'syndicate-to[]',
|
||||||
'contents' => $syn,
|
'contents' => $syn,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue