Revert last change, was already fixed in the meantime
authorJens Frank <jeluf@users.mediawiki.org>
Tue, 6 Dec 2005 22:37:12 +0000 (22:37 +0000)
committerJens Frank <jeluf@users.mediawiki.org>
Tue, 6 Dec 2005 22:37:12 +0000 (22:37 +0000)
includes/Linker.php

index f949637..036b2cc 100644 (file)
@@ -480,9 +480,7 @@ class Linker {
                if ( $img->exists() ) {
                        $width  = $img->getWidth();
                        $height = $img->getHeight();
-               } else {
-                       return $this->makeBrokenLinkObj( $img->getTitle() );
-               }
+               } 
                if ( 0 == $width || 0 == $height ) {
                        $width = $height = 200;
                }