From: Michael Date: Thu, 29 Jul 2021 15:01:09 +0000 (+0000) Subject: Fix array index X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c9eca1edeb44780ecab0aa334970ed4bf732ff32;p=friendica.git Fix array index --- diff --git a/src/Object/Api/Mastodon/ScheduledStatus.php b/src/Object/Api/Mastodon/ScheduledStatus.php index f955869357..f63ba8db51 100644 --- a/src/Object/Api/Mastodon/ScheduledStatus.php +++ b/src/Object/Api/Mastodon/ScheduledStatus.php @@ -63,7 +63,7 @@ class ScheduledStatus extends BaseDataTransferObject $visibility = ['public', 'private', 'unlisted']; $this->id = (string)$delayed_post['id']; - $this->scheduled_at = DateTimeFormat::utc($delayed_post['scheduled_at'], DateTimeFormat::JSON); + $this->scheduled_at = DateTimeFormat::utc($delayed_post['delayed'], DateTimeFormat::JSON); $this->params = [ 'text' => BBCode::convert(BBCode::setMentionsToNicknames($parameters['item']['body'] ?? ''), false, BBCode::API),