oops
authorTim Starling <tstarling@users.mediawiki.org>
Fri, 27 Apr 2007 09:41:09 +0000 (09:41 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Fri, 27 Apr 2007 09:41:09 +0000 (09:41 +0000)
includes/Image.php

index 88b49d5..0c40c92 100644 (file)
@@ -789,9 +789,9 @@ class Image
        function thumbUrl( $width, $subdir = 'thumb' ) {
                $name = $this->thumbName( array( 'width' => $width ) );
                if ( strval( $name ) !== '' ) {
-                       return $this->thumbUrlFromName( $name, $subdir );
+                       return array( false, $this->thumbUrlFromName( $name, $subdir ) );
                } else {
-                       return false;
+                       return array( false, false );
                }
        }