aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2013-10-30 02:07:33 +0100
committerSem <sembrestels@riseup.net>2013-10-30 02:07:33 +0100
commit213a378d33e42816013198c9a4ecc6f2e6026e67 (patch)
tree7b83d113b22784ba24c935cea282a4ff3a0926b3 /lib
parentc11fa1708b9d133c7efe9ca889ff0d9b8017119c (diff)
downloadelgg-213a378d33e42816013198c9a4ecc6f2e6026e67.tar.gz
elgg-213a378d33e42816013198c9a4ecc6f2e6026e67.tar.bz2
Fixed filestore
Diffstat (limited to 'lib')
-rw-r--r--lib/tidypics.php3
1 files changed, 2 insertions, 1 deletions
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();
}
/**