summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/User.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/User.php b/classes/User.php
index 12f174944..55c0f4576 100644
--- a/classes/User.php
+++ b/classes/User.php
@@ -283,7 +283,7 @@ class User extends Memcached_DataObject
$faves = $this->favoriteNotices(0, NOTICE_CACHE_WINDOW);
while ($faves->fetch()) {
- if ($faves->id > $notice->id) {
+ if ($faves->id < $notice->id) {
# If we passed it, it's not a fave
return false;
} else if ($faves->id == $notice->id) {