summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();