messed up logic for passing faves

darcs-hash:20081122163552-84dde-9171c5e24ae90a430f2abd78437073656af9e5ec.gz
This commit is contained in:
Evan Prodromou 2008-11-22 11:35:52 -05:00
parent 5632b2e6d5
commit 5d161f3d24
1 changed files with 1 additions and 1 deletions

View File

@ -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) {