summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/User.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/User.php b/classes/User.php
index 370aad07b..916524b8e 100644
--- a/classes/User.php
+++ b/classes/User.php
@@ -335,7 +335,7 @@ class User extends Memcached_DataObject
return Notice::getStream(sprintf($qry, $this->id),
'user:notices_with_friends:' . $this->id,
$offset, $limit, $since_id, $before_id,
- 'ORDER BY notice_inbox.created DESC, notice_inbox.id DESC ');
+ 'ORDER BY notice_inbox.created DESC, notice_inbox.notice_id DESC ');
}
function blowFavesCache() {