From: Neil Kandalgaonkar Date: Mon, 8 Nov 2010 23:35:24 +0000 (+0000) Subject: used accessor as recommended in comments to r73555 X-Git-Tag: 1.31.0-rc.0~33972 X-Git-Url: https://git.cyclocoop.org/?a=commitdiff_plain;h=032d7cb1a004779ab0f235a608f815fbb4c1f9e9;p=lhc%2Fweb%2Fwiklou.git used accessor as recommended in comments to r73555 --- 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;