used accessor as recommended in comments to r73555
[lhc/web/wiklou.git] / 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;