From: Sem Date: Wed, 30 Oct 2013 01:07:33 +0000 (+0100) Subject: Fixed filestore X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=213a378d33e42816013198c9a4ecc6f2e6026e67;p=lorea%2Felgg.git Fixed filestore --- diff --git a/lib/tidypics.php b/lib/tidypics.php index cbf9c0c28..1419a260a 100644 --- a/lib/tidypics.php +++ b/lib/tidypics.php @@ -56,7 +56,8 @@ function tp_get_latest_photos($num_images, $owner_guid = 0, $context = 'front') */ function tp_get_img_dir() { $file = new ElggFile(); - return $file->getFilenameOnFilestore() . 'image/'; + $file->setFilename('image/'); + return $file->getFilenameOnFilestore(); } /**