messed up logic for passing faves
darcs-hash:20081122163552-84dde-9171c5e24ae90a430f2abd78437073656af9e5ec.gz
This commit is contained in:
parent
5632b2e6d5
commit
5d161f3d24
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user