From 4fd3ac1b690d9ce0c961958427b287b89c1a65f3 Mon Sep 17 00:00:00 2001 From: Rob Lanphier Date: Sat, 13 Nov 2010 06:25:12 +0000 Subject: [PATCH] Followup to r76111. Making the result parameter on getThumbUrl optional --- 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 ef175962ab..e903e55f44 100644 --- a/includes/filerepo/ForeignAPIRepo.php +++ b/includes/filerepo/ForeignAPIRepo.php @@ -196,7 +196,7 @@ class ForeignAPIRepo extends FileRepo { return $ret; } - function getThumbUrl( $name, $width=-1, $height=-1, &$result ) { + function getThumbUrl( $name, $width=-1, $height=-1, &$result=NULL ) { $data = $this->fetchImageQuery( array( 'titles' => 'File:' . $name, 'iiprop' => 'url|timestamp', -- 2.20.1