X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryLinks.php;h=67bf619c894477c3ca140db4210ba769b25f9699;hb=a6b9f44d2d7a430afc4bd78bb9a5b1e271b6abe7;hp=508bdf3f9dae38fd2770bb5361bd9c67e57851e7;hpb=641c6d1f15f866770d44b67c1efc5f9fc0763d9e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryLinks.php b/includes/api/ApiQueryLinks.php index 508bdf3f9d..67bf619c89 100644 --- a/includes/api/ApiQueryLinks.php +++ b/includes/api/ApiQueryLinks.php @@ -1,9 +1,5 @@ @gmail.com" * * This program is free software; you can redistribute it and/or modify @@ -114,7 +110,7 @@ class ApiQueryLinks extends ApiQueryGeneratorBase { } } elseif ( $params['namespace'] ) { $this->addWhereFld( $this->prefix . '_namespace', $params['namespace'] ); - $multiNS = count( $params['namespace'] ) !== 1; + $multiNS = $params['namespace'] === null || count( $params['namespace'] ) !== 1; } if ( !is_null( $params['continue'] ) ) {