include path in thumbnail output
authorTim Starling <tstarling@users.mediawiki.org>
Tue, 24 Apr 2007 14:48:21 +0000 (14:48 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Tue, 24 Apr 2007 14:48:21 +0000 (14:48 +0000)
includes/media/SVG.php

index d311232..6a39bde 100644 (file)
@@ -82,7 +82,7 @@ class SvgHandler extends ImageHandler {
                                        wfHostname(), $retval, trim($err), $cmd ) );
                        return new MediaTransformError( 'thumbnail_error', $clientWidth, $clientHeight, $err );
                } else {
-                       return new ThumbnailImage( $dstUrl, $clientWidth, $clientHeight );
+                       return new ThumbnailImage( $dstUrl, $clientWidth, $clientHeight, $dstPath );
                }
        }