Index: trunk/extensions/LiquidThreads/api/ApiThreadAction.php |
— | — | @@ -211,7 +211,7 @@ |
212 | 212 | global $wgUser; |
213 | 213 | |
214 | 214 | // Validate talkpage parameters |
215 | | - if ( empty( $params['talkpage'] ) ) { |
| 215 | + if ( !count( $params['talkpage'] ) ) { |
216 | 216 | $this->dieUsageMsg( array( 'missingparam', 'talkpage' ) ); |
217 | 217 | } |
218 | 218 | |