summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/Notice.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index 2a2c14df6..3a344e9ef 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -377,8 +377,8 @@ class Notice extends Memcached_DataObject
$inbox = new Notice_inbox();
- $inbox->query('INSERT INTO notice_inbox (user_id, notice_id) ' .
- 'SELECT user.id, ' . $this->id . ' ' .
+ $inbox->query('INSERT INTO notice_inbox (user_id, notice_id, created) ' .
+ 'SELECT user.id, ' . $this->id . ', "' . $this->created . '" ' .
'FROM user JOIN subscription ON user.id = subscription.subscriber ' .
'WHERE subscription.subscribed = ' . $this->profile_id);