diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-07-02 18:00:22 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-07-02 18:00:22 -0700 |
commit | eb5538d1357dade9e6e08d1b603033928944011c (patch) | |
tree | ee04f9be38a40f4125eafab5367bba6cf1b61164 /modules/comment/models | |
parent | 1a5fe42b555d51d22bde1521100a31d2b434486b (diff) | |
parent | a633c134b754305eaa611c5d67af4ca7c79beafe (diff) |
Merge branch 'master' of git@github.com:/gallery/gallery3
Conflicts:
modules/server_add/controllers/admin_server_add.php
Diffstat (limited to 'modules/comment/models')
-rw-r--r-- | modules/comment/models/comment.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/models/comment.php b/modules/comment/models/comment.php index ec4d4794..22c465df 100644 --- a/modules/comment/models/comment.php +++ b/modules/comment/models/comment.php @@ -59,7 +59,7 @@ class Comment_Model extends ORM { public function save() { if (!empty($this->changed)) { $this->updated = time(); - if (!$this->loaded) { + if (!$this->loaded && empty($this->created)) { $this->created = $this->updated; } } |