1
0
mirror of https://github.com/flarum/core.git synced 2025-10-13 07:54:25 +02:00

Rename post.time

This commit is contained in:
Toby Zerner
2018-08-24 21:25:45 +09:30
parent d47c406d9c
commit ae75f21b6b
5 changed files with 5 additions and 5 deletions

View File

@@ -91,7 +91,7 @@ class PostReplyHandler
$command->ipAddress
);
if ($actor->isAdmin() && ($time = array_get($command->data, 'attributes.time'))) {
if ($actor->isAdmin() && ($time = array_get($command->data, 'attributes.createdAt'))) {
$post->created_at = new Carbon($time);
}