summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/Notice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index 6aa8e375b..57adb7ef8 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -82,7 +82,7 @@ class Notice extends DB_DataObject
$notice->profile_id = $profile_id;
$notice->is_local = $is_local;
$notice->reply_to = $reply_to;
- $notice->created = DB_DataObject_Cast::dateTime();
+ $notice->created = common_sql_now();
$notice->content = $content;
$notice->rendered = common_render_content($notice->content, $notice);
if ($source) {