Index: trunk/extensions/MoodBar/SpecialMoodBarFeedback.php |
— | — | @@ -34,7 +34,9 @@ |
35 | 35 | $filters['username'] = $username; |
36 | 36 | } |
37 | 37 | $offset = $wgRequest->getVal( 'offset', $offset ); |
38 | | - $filterType = 'filtered'; |
| 38 | + if ( count( $filters ) ) { |
| 39 | + $filterType = 'filtered'; |
| 40 | + } |
39 | 41 | } |
40 | 42 | // Do the query |
41 | 43 | $backwards = $wgRequest->getVal( 'dir' ) === 'prev'; |