From 74786b951c162f9d2f7fee8496644b381c46db9f Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 12 Nov 2008 13:51:17 -0500 Subject: add created to notice update darcs-hash:20081112185117-5ed1f-3b2373620581d123182dc951c528276541f4ab68.gz --- classes/Notice.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'classes/Notice.php') 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); -- cgit v1.2.3-54-g00ecf