Fixed comment saving

This commit is contained in:
Marcin Kurczewski 2014-10-10 19:46:18 +02:00
parent 48519014fc
commit 2f6b56b08c

View file

@ -13,8 +13,8 @@ class CommentEntityConverter extends AbstractEntityConverter implements IEntityC
'userId' => $entity->getUserId(), 'userId' => $entity->getUserId(),
'postId' => $entity->getPostId(), 'postId' => $entity->getPostId(),
'text' => $entity->getText(), 'text' => $entity->getText(),
'lastEditTime' => $this->entityTimeToDbTime($entity->getCreationTime()), 'creationTime' => $this->entityTimeToDbTime($entity->getCreationTime()),
'creationTime' => $this->entityTimeToDbTime($entity->getLastEditTime()), 'lastEditTime' => $this->entityTimeToDbTime($entity->getLastEditTime()),
]; ];
} }