summaryrefslogtreecommitdiff
path: root/classes/User.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-11-22 11:35:52 -0500
committerEvan Prodromou <evan@prodromou.name>2008-11-22 11:35:52 -0500
commit5d161f3d24a1033bf8eea68fe6ed9d28063372e8 (patch)
treee7bc4b72167be8cfdcc134daf10fabe41545a0e9 /classes/User.php
parent5632b2e6d5b54bcafc06b9979523ecc9b69ec1c4 (diff)
messed up logic for passing faves
darcs-hash:20081122163552-84dde-9171c5e24ae90a430f2abd78437073656af9e5ec.gz
Diffstat (limited to 'classes/User.php')
-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) {