diff options
Diffstat (limited to 'modules/comment/controllers')
-rw-r--r-- | modules/comment/controllers/comments.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/controllers/comments.php b/modules/comment/controllers/comments.php index 773eb25a..434aa36f 100644 --- a/modules/comment/controllers/comments.php +++ b/modules/comment/controllers/comments.php @@ -45,7 +45,7 @@ class Comments_Controller extends REST_Controller { $comment->author = $this->input->post('author'); $comment->email = $this->input->post('email'); $comment->text = $this->input->post('text'); - $comment->datetime = time(); + $comment->created = time(); $comment->item_id = $this->input->post('item_id'); $comment->save(); |