From: Victor Vasiliev Date: Sun, 20 Jan 2008 11:05:30 +0000 (+0000) Subject: Fix stupid bug X-Git-Tag: 1.31.0-rc.0~49891 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=commitdiff_plain;h=ce7681baf2c430c426a775b7a32b0f04a3bb04be;p=lhc%2Fweb%2Fwiklou.git Fix stupid bug --- 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();