r29977 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r29976‎ | r29977 | r29978 >
Date:11:05, 20 January 2008
Author:vasilievvv
Status:old
Tags:
Comment:
Fix stupid bug
Modified paths:
  • /trunk/phase3/includes/ImagePage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ImagePage.php
@@ -411,7 +411,7 @@
412412
413413 $sk = $wgUser->getSkin();
414414
415 - if ( $this->img->exists ) {
 415+ if ( $this->img->exists() ) {
416416 $list = new ImageHistoryList( $sk, $this->img );
417417 $file = $this->img;
418418 $dims = $file->getDimensionsString();

Status & tagging log