diff options
Diffstat (limited to 'classes')
-rw-r--r-- | classes/Notice.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/classes/Notice.php b/classes/Notice.php index ef8f7046e..6655befb1 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -82,11 +82,12 @@ class Notice extends DB_DataObject $notice->profile_id = $profile_id; $notice->is_local = $is_local; $notice->created = DB_DataObject_Cast::dateTime(); - # Default theme uses 'content' for something else $notice->content = $content; - $notice->rendered = common_render_content($notice->content, $notice); - + if ($source) { + $notice->source = $source; + } + $id = $notice->insert(); if (!$id) { |