mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-19 19:09:13 -04:00
Change "datetime" to "created" to give some semantics to this field.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user