Follow-up r75499: initialise $anchorclose to prevent PHP Notice: Undefined variable...
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Wed, 27 Oct 2010 11:18:13 +0000 (11:18 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Wed, 27 Oct 2010 11:18:13 +0000 (11:18 +0000)
includes/ImagePage.php

index e53be26..1bfbdc9 100644 (file)
@@ -371,6 +371,7 @@ class ImagePage extends Article {
                                $thumbnail = $this->displayImg->transform( $params );
 
                                $showLink = true;
+                               $anchorclose = '';
                                if ( !$this->displayImg->mustRender() ) {
                                        $anchorclose = "<br />" . $msgsmall;
                                }