r21652 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r21651‎ | r21652 | r21653 >
Date:09:41, 27 April 2007
Author:tstarling
Status:old
Tags:
Comment:
oops
Modified paths:
  • /trunk/phase3/includes/Image.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Image.php
@@ -789,9 +789,9 @@
790790 function thumbUrl( $width, $subdir = 'thumb' ) {
791791 $name = $this->thumbName( array( 'width' => $width ) );
792792 if ( strval( $name ) !== '' ) {
793 - return $this->thumbUrlFromName( $name, $subdir );
 793+ return array( false, $this->thumbUrlFromName( $name, $subdir ) );
794794 } else {
795 - return false;
 795+ return array( false, false );
796796 }
797797 }
798798