From: Siebrand Mazeland Date: Wed, 27 Oct 2010 11:18:13 +0000 (+0000) Subject: Follow-up r75499: initialise $anchorclose to prevent PHP Notice: Undefined variable... X-Git-Tag: 1.31.0-rc.0~34277 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=0c82513022c32d2e6eb6a4153369218af4ee717f;p=lhc%2Fweb%2Fwiklou.git Follow-up r75499: initialise $anchorclose to prevent PHP Notice: Undefined variable: anchorclose on line 390. --- 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; }