From 032d7cb1a004779ab0f235a608f815fbb4c1f9e9 Mon Sep 17 00:00:00 2001 From: Neil Kandalgaonkar Date: Mon, 8 Nov 2010 23:35:24 +0000 Subject: [PATCH] used accessor as recommended in comments to r73555 --- includes/upload/UploadStash.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/upload/UploadStash.php b/includes/upload/UploadStash.php index 3e4467a90c..15e32887a0 100644 --- a/includes/upload/UploadStash.php +++ b/includes/upload/UploadStash.php @@ -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; -- 2.20.1