From 5d161f3d24a1033bf8eea68fe6ed9d28063372e8 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 22 Nov 2008 11:35:52 -0500 Subject: [PATCH] messed up logic for passing faves darcs-hash:20081122163552-84dde-9171c5e24ae90a430f2abd78437073656af9e5ec.gz --- classes/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/User.php b/classes/User.php index 12f1749443..55c0f45768 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) { -- 2.39.5