From ce7681baf2c430c426a775b7a32b0f04a3bb04be Mon Sep 17 00:00:00 2001 From: Victor Vasiliev Date: Sun, 20 Jan 2008 11:05:30 +0000 Subject: [PATCH] Fix stupid bug --- includes/ImagePage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/ImagePage.php b/includes/ImagePage.php index b722903915..198d510c90 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -411,7 +411,7 @@ EOT $sk = $wgUser->getSkin(); - if ( $this->img->exists ) { + if ( $this->img->exists() ) { $list = new ImageHistoryList( $sk, $this->img ); $file = $this->img; $dims = $file->getDimensionsString(); -- 2.20.1