diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-12-21 01:29:25 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-12-21 01:29:25 +0000 |
commit | 81e87dfecdcd645dad6583373540ea182a50cea2 (patch) | |
tree | 677b796f7f4ef02354687a18f24b7082703f849b /modules/comment/controllers/comments.php | |
parent | 8f87a030c8abe447feac22022fa6223248979601 (diff) |
Change "datetime" to "created" to give some semantics to this field.
Diffstat (limited to 'modules/comment/controllers/comments.php')
-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(); |