]> git.mxchange.org Git - friendica.git/commitdiff
Set the field to "null"
authorMichael <heluecht@pirati.ca>
Tue, 14 Mar 2023 16:18:16 +0000 (16:18 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 14 Mar 2023 16:18:16 +0000 (16:18 +0000)
src/Object/Api/Mastodon/Status.php

index 8430601f9830a313b0e21c8299b0e031f0616d0d..0a02a48549ce94d1eec86c5901dbb50c3efa8bfe 100644 (file)
@@ -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;