From: Sam Reed Date: Fri, 13 Aug 2010 19:44:47 +0000 (+0000) Subject: It's params, not param X-Git-Tag: 1.31.0-rc.0~35502 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=51a665abba9f6d26ba291cd3fb1f29070f905438;p=lhc%2Fweb%2Fwiklou.git It's params, not param --- diff --git a/includes/api/ApiQueryRecentChanges.php b/includes/api/ApiQueryRecentChanges.php index dd60974d5e..90b54b8eb6 100644 --- a/includes/api/ApiQueryRecentChanges.php +++ b/includes/api/ApiQueryRecentChanges.php @@ -164,7 +164,7 @@ class ApiQueryRecentChanges extends ApiQueryBase { $this->addWhereIf( 'page_is_redirect = 0 OR page_is_redirect IS NULL', isset( $show['!redirect'] ) ); } - if ( !is_null( $params['user'] ) && !is_null( $param['excludeuser'] ) ) { + if ( !is_null( $params['user'] ) && !is_null( $params['excludeuser'] ) ) { $this->dieUsage( 'user and excludeuser cannot be used together', 'user-excludeuser' ); }