From c13deb1d79b68272767cce6c5c04dcef760b8e35 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Fri, 21 Nov 2008 00:22:44 +0000 Subject: [PATCH] Typo (and incidentally, it works 100% now :) --- includes/filerepo/ForeignAPIRepo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/filerepo/ForeignAPIRepo.php b/includes/filerepo/ForeignAPIRepo.php index 5f9e609022..982508e44b 100644 --- a/includes/filerepo/ForeignAPIRepo.php +++ b/includes/filerepo/ForeignAPIRepo.php @@ -105,7 +105,7 @@ class ForeignAPIRepo extends FileRepo { 'list' => 'allimages', ) ); $ret = array(); foreach ( $results['query']['allimages'] as $img ) { - $ret[] = new ForeignAPIFile( Title::makeTitle( NS_IMAGE, $img['name'] ), $this, $result ); + $ret[] = new ForeignAPIFile( Title::makeTitle( NS_IMAGE, $img['name'] ), $this, $img ); } return $ret; } -- 2.20.1