From 2f6b56b08c26d1ed04c4319b34a03d6dfa291427 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Fri, 10 Oct 2014 19:46:18 +0200 Subject: [PATCH] Fixed comment saving --- src/Dao/EntityConverters/CommentEntityConverter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Dao/EntityConverters/CommentEntityConverter.php b/src/Dao/EntityConverters/CommentEntityConverter.php index 3d618549..b8855717 100644 --- a/src/Dao/EntityConverters/CommentEntityConverter.php +++ b/src/Dao/EntityConverters/CommentEntityConverter.php @@ -13,8 +13,8 @@ class CommentEntityConverter extends AbstractEntityConverter implements IEntityC 'userId' => $entity->getUserId(), 'postId' => $entity->getPostId(), 'text' => $entity->getText(), - 'lastEditTime' => $this->entityTimeToDbTime($entity->getCreationTime()), - 'creationTime' => $this->entityTimeToDbTime($entity->getLastEditTime()), + 'creationTime' => $this->entityTimeToDbTime($entity->getCreationTime()), + 'lastEditTime' => $this->entityTimeToDbTime($entity->getLastEditTime()), ]; }