From: Tim Starling Date: Tue, 24 Apr 2007 15:09:37 +0000 (+0000) Subject: need destination path even when rendering later X-Git-Tag: 1.31.0-rc.0~53247 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=d8bb5a5c15b52825012a6749af46c8641da1a1a9;p=lhc%2Fweb%2Fwiklou.git need destination path even when rendering later --- diff --git a/includes/media/SVG.php b/includes/media/SVG.php index 6a39bde49a..5307e269af 100644 --- a/includes/media/SVG.php +++ b/includes/media/SVG.php @@ -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 ) ) ) {