Make sure mpSyndicateTo variable exists
This commit is contained in:
parent
eec31e09f0
commit
f5edf649e6
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +97,7 @@ class MicropubController extends Controller
|
|||
}
|
||||
$data['syndicate'] = [];
|
||||
$targets = array_pluck(config('syndication.targets'), 'uid', 'service.name');
|
||||
$mpSyndicateTo = null;
|
||||
if ($request->has('mp-syndicate-to')) {
|
||||
$mpSyndicateTo = $request->input('mp-syndicate-to');
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue