From 51a665abba9f6d26ba291cd3fb1f29070f905438 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Fri, 13 Aug 2010 19:44:47 +0000 Subject: [PATCH] It's params, not param --- includes/api/ApiQueryRecentChanges.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' ); } -- 2.20.1