summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-09-17 15:16:52 -0400
committerEvan Prodromou <evan@controlyourself.ca>2008-09-17 15:16:52 -0400
commita4cca014515f5515fcda3aa67924b4f1277fca0d (patch)
treea6551dac888b0992eeee227e06598ed01f4bdf12 /classes
parent823737891bf311f30a50e610f5a4659478e7d13d (diff)
save created date
darcs-hash:20080917191652-5ed1f-f066e906146146cfe0ffb80055ea15d71f491f3c.gz
Diffstat (limited to 'classes')
-rw-r--r--classes/Message.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/Message.php b/classes/Message.php
index d44c95464..a903161f7 100644
--- a/classes/Message.php
+++ b/classes/Message.php
@@ -43,6 +43,7 @@ class Message extends DB_DataObject
$msg->to_profile = $to;
$msg->content = $content;
$msg->rendered = common_render_text($content);
+ $msg->created = common_sql_now();
$msg->source = $source;
$result = $msg->insert();