Squashed commit of the following:
commit ce110099a3a2e97a491c7a920126abda585b15f7 Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Fri Jan 27 20:39:59 2017 +0000 syndicate-to is now mp-syndicate-to
This commit is contained in:
parent
7edb224164
commit
13919c207e
3 changed files with 10 additions and 7 deletions
|
@ -159,10 +159,10 @@ class MicropubClientController extends Controller
|
|||
'contents' => $request->input('in-reply-to'),
|
||||
];
|
||||
}
|
||||
if ($request->input('syndicate-to')) {
|
||||
foreach ($request->input('syndicate-to') as $syn) {
|
||||
if ($request->input('mp-syndicate-to')) {
|
||||
foreach ($request->input('mp-syndicate-to') as $syn) {
|
||||
$multipart[] = [
|
||||
'name' => 'syndicate-to[]',
|
||||
'name' => 'mp-syndicate-to[]',
|
||||
'contents' => $syn,
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue