diff options
-rw-r--r-- | classes/Inbox.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/Inbox.php b/classes/Inbox.php index 83cfe8ef8..f3d4afca3 100644 --- a/classes/Inbox.php +++ b/classes/Inbox.php @@ -103,9 +103,9 @@ class Inbox extends Memcached_DataObject static function insertNotice($user_id, $notice_id) { - $inbox = Inbox::staticGet('user_id', $user_id); + $inbox = DB_DataObject::staticGet('inbox', 'user_id', $user_id); - if (empty($inbox) || $inbox->fake) { + if (empty($inbox)) { $inbox = Inbox::initialize($user_id); } |