fix to fix for calling convention :D
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 4 Jun 2007 15:57:22 +0000 (15:57 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 4 Jun 2007 15:57:22 +0000 (15:57 +0000)
includes/ImagePage.php

index 8fff298..46846ec 100644 (file)
@@ -283,7 +283,7 @@ class ImagePage extends Article {
                                        if ( $page < $count ) {
                                                $label = wfMsg( 'imgmultipagenext' );
                                                $link = $sk->makeKnownLinkObj( $this->mTitle, $label, 'page='. ($page+1) );
-                                               $thumb2 = $sk->makeThumbLinkObj( $this->mTitle, $link, $label, 'none', 
+                                               $thumb2 = $sk->makeThumbLinkObj( $this->mTitle, $this->img, $link, $label, 'none', 
                                                        array( 'page' => $page + 1 ) );
                                        } else {
                                                $thumb2 = '';