From 81e87dfecdcd645dad6583373540ea182a50cea2 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 21 Dec 2008 01:29:25 +0000 Subject: Change "datetime" to "created" to give some semantics to this field. --- modules/comment/controllers/comments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/comment/controllers/comments.php') 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(); -- cgit v1.2.3