From 213a378d33e42816013198c9a4ecc6f2e6026e67 Mon Sep 17 00:00:00 2001 From: Sem Date: Wed, 30 Oct 2013 02:07:33 +0100 Subject: Fixed filestore --- lib/tidypics.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') 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(); } /** -- cgit v1.2.3