Followup to r62465, should be in an array
[lhc/web/wiklou.git] / includes / api / ApiQueryWatchlistRaw.php
index 2a60116..3f4072a 100644 (file)
@@ -59,7 +59,7 @@ class ApiQueryWatchlistRaw extends ApiQueryGeneratorBase {
                $prop = array_flip( (array)$params['prop'] );
                $show = array_flip( (array)$params['show'] );
                if ( isset( $show['changed'] ) && isset( $show['!changed'] ) )
-                       $this->dieUsageMsg( 'show' );
+                       $this->dieUsageMsg( array( 'show' ) );
 
                $this->addTables( 'watchlist' );
                $this->addFields( array( 'wl_namespace', 'wl_title' ) );