Index: trunk/extensions/LiquidThreads/api/ApiFeedLQTThreads.php |
— | — | @@ -158,6 +158,9 @@ |
159 | 159 | function getConditions( $params, $db ) { |
160 | 160 | $conds = array(); |
161 | 161 | |
| 162 | + // Types |
| 163 | + $conds['thread_type'] = Threads::TYPE_NORMAL; |
| 164 | + |
162 | 165 | // Limit |
163 | 166 | $cutoff = time() - intval($params['days'] * 24 * 3600); |
164 | 167 | $cutoff = $db->timestamp( $cutoff ); |