used accessor as recommended in comments to r73555
authorNeil Kandalgaonkar <neilk@users.mediawiki.org>
Mon, 8 Nov 2010 23:35:24 +0000 (23:35 +0000)
committerNeil Kandalgaonkar <neilk@users.mediawiki.org>
Mon, 8 Nov 2010 23:35:24 +0000 (23:35 +0000)
includes/upload/UploadStash.php

index 3e4467a..15e3288 100644 (file)
@@ -381,7 +381,7 @@ class UploadStashFile extends UnregisteredLocalFile {
                }
 
                // stash the thumbnail File, and provide our caller with a way to get at its properties
-               $stashedThumbFile = $this->sessionStash->stashFile( $thumb->path, array(), $key );
+               $stashedThumbFile = $this->sessionStash->stashFile( $thumb->getPath(), array(), $key );
                $thumb->thumbnailFile = $stashedThumbFile;
 
                return $thumb;