From: Evan Prodromou Date: Sat, 22 Nov 2008 16:35:52 +0000 (-0500) Subject: messed up logic for passing faves X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5d161f3d24a1033bf8eea68fe6ed9d28063372e8;p=quix0rs-gnu-social.git messed up logic for passing faves darcs-hash:20081122163552-84dde-9171c5e24ae90a430f2abd78437073656af9e5ec.gz --- 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) {