From: Chad Horohoe Date: Thu, 13 Jan 2011 00:11:02 +0000 (+0000) Subject: Fix broken fileExistsBatch() in ForeignAPIRepo since r51673 X-Git-Tag: 1.31.0-rc.0~32582 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22sites_tous%22%29%20.%20%22?a=commitdiff_plain;h=283fe35f2e8728c9a88962074c754295d7e982b6;p=lhc%2Fweb%2Fwiklou.git Fix broken fileExistsBatch() in ForeignAPIRepo since r51673 --- diff --git a/includes/filerepo/ForeignAPIRepo.php b/includes/filerepo/ForeignAPIRepo.php index e903e55f44..0c36b03c85 100644 --- a/includes/filerepo/ForeignAPIRepo.php +++ b/includes/filerepo/ForeignAPIRepo.php @@ -118,7 +118,7 @@ class ForeignAPIRepo extends FileRepo { } } - $results = $this->fetchImageQuery( array( 'titles' => implode( $files, '|' ), + $data = $this->fetchImageQuery( array( 'titles' => implode( $files, '|' ), 'prop' => 'imageinfo' ) ); if( isset( $data['query']['pages'] ) ) { $i = 0;