From 0c82513022c32d2e6eb6a4153369218af4ee717f Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Wed, 27 Oct 2010 11:18:13 +0000 Subject: [PATCH] Follow-up r75499: initialise $anchorclose to prevent PHP Notice: Undefined variable: anchorclose on line 390. --- includes/ImagePage.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/ImagePage.php b/includes/ImagePage.php index e53be2698a..1bfbdc97fa 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -371,6 +371,7 @@ class ImagePage extends Article { $thumbnail = $this->displayImg->transform( $params ); $showLink = true; + $anchorclose = ''; if ( !$this->displayImg->mustRender() ) { $anchorclose = "
" . $msgsmall; } -- 2.20.1