Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php |
— | — | @@ -787,7 +787,7 @@ |
788 | 788 | $result = $dbr->select( |
789 | 789 | array('flaggedrevs', 'revision'), |
790 | 790 | array('fr_rev_id', 'fr_user', 'fr_timestamp', 'fr_comment', 'rev_timestamp'), |
791 | | - array('fr_page_id' => $article->getId(), 'fr_rev_id = rev_id', 'fr_quality=1', 'rev_deleted=0'), |
| 791 | + array('fr_page_id' => $article->getId(), 'fr_rev_id = rev_id', 'fr_quality >= 1', 'rev_deleted=0'), |
792 | 792 | __METHOD__, |
793 | 793 | array('ORDER BY' => 'fr_rev_id DESC', 'LIMIT' => 1 ) ); |
794 | 794 | // Do we have one? |
— | — | @@ -989,10 +989,8 @@ |
990 | 990 | '</strong></small></tt>'; |
991 | 991 | } |
992 | 992 | } |
993 | | - } |
| 993 | + } |
994 | 994 | |
995 | | - |
996 | | - |
997 | 995 | } |
998 | 996 | |
999 | 997 | $flaggedrevs = new FlaggedRevs(); |