From: Michael Date: Tue, 14 Mar 2023 16:18:16 +0000 (+0000) Subject: Set the field to "null" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7382c3bd86be1fced5b40547e25e113110369db1;p=friendica.git Set the field to "null" --- diff --git a/src/Object/Api/Mastodon/Status.php b/src/Object/Api/Mastodon/Status.php index 8430601f98..0a02a48549 100644 --- a/src/Object/Api/Mastodon/Status.php +++ b/src/Object/Api/Mastodon/Status.php @@ -214,7 +214,7 @@ class Status extends BaseDataTransferObject } if ($status['created_at'] == $status['edited_at']) { - unset($status['edited_at']); + $status['edited_at'] = null; } return $status;