]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
messed up logic for passing faves
authorEvan Prodromou <evan@prodromou.name>
Sat, 22 Nov 2008 16:35:52 +0000 (11:35 -0500)
committerEvan Prodromou <evan@prodromou.name>
Sat, 22 Nov 2008 16:35:52 +0000 (11:35 -0500)
darcs-hash:20081122163552-84dde-9171c5e24ae90a430f2abd78437073656af9e5ec.gz

classes/User.php

index 12f17494434b9529f91fe9eba3cd2092d8481d53..55c0f45768b1f1008c4254b8b969fdde91273427 100644 (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) {