need destination path even when rendering later
authorTim Starling <tstarling@users.mediawiki.org>
Tue, 24 Apr 2007 15:09:37 +0000 (15:09 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Tue, 24 Apr 2007 15:09:37 +0000 (15:09 +0000)
includes/media/SVG.php

index 6a39bde..5307e26 100644 (file)
@@ -51,7 +51,7 @@ class SvgHandler extends ImageHandler {
                $srcPath = $image->getImagePath();
 
                if ( $flags & self::TRANSFORM_LATER ) {
-                       return new ThumbnailImage( $dstUrl, $clientWidth, $clientHeight );
+                       return new ThumbnailImage( $dstUrl, $clientWidth, $clientHeight, $dstPath );
                }
 
                if ( !wfMkdirParents( dirname( $dstPath ) ) ) {