From d8bb5a5c15b52825012a6749af46c8641da1a1a9 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Tue, 24 Apr 2007 15:09:37 +0000 Subject: [PATCH] need destination path even when rendering later --- includes/media/SVG.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) ) ) { -- 2.20.1