mirror of
https://github.com/friendica/friendica
synced 2025-04-24 23:10:11 +00:00
Workaround for timing problems / Avoid a notice in the scheduled posts
This commit is contained in:
parent
ce762b4154
commit
6bc69f3353
2 changed files with 3 additions and 2 deletions
|
@ -71,7 +71,7 @@ class ScheduledStatus extends BaseDataTransferObject
|
|||
'media_ids' => $media_ids,
|
||||
'sensitive' => null,
|
||||
'spoiler_text' => $parameters['item']['title'] ?? '',
|
||||
'visibility' => $visibility[$parameters['item']['private']],
|
||||
'visibility' => $visibility[$parameters['item']['private'] ?? 1],
|
||||
'scheduled_at' => $this->scheduled_at,
|
||||
'poll' => null,
|
||||
'idempotency' => null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue