aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Storage/Browser.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-08-07 16:21:51 -0700
committerredmatrix <git@macgirvin.com>2016-08-07 16:21:51 -0700
commite1659b0725c275c2ba5f38a02a0f3fbcec145519 (patch)
tree7f7c7268e0727d6346157d6905a3a6a182da377e /Zotlabs/Storage/Browser.php
parent89c026924bab191d668f9bd85152de9925f55fa7 (diff)
downloadvolse-hubzilla-e1659b0725c275c2ba5f38a02a0f3fbcec145519.tar.gz
volse-hubzilla-e1659b0725c275c2ba5f38a02a0f3fbcec145519.tar.bz2
volse-hubzilla-e1659b0725c275c2ba5f38a02a0f3fbcec145519.zip
fix cloud path
Diffstat (limited to 'Zotlabs/Storage/Browser.php')
-rw-r--r--Zotlabs/Storage/Browser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Storage/Browser.php b/Zotlabs/Storage/Browser.php
index 7bae8f0ee..e72c4fb62 100644
--- a/Zotlabs/Storage/Browser.php
+++ b/Zotlabs/Storage/Browser.php
@@ -330,7 +330,7 @@ class Browser extends DAV\Browser\Plugin {
'$deny_gid' => acl2json($channel_acl['deny_gid']),
'$lockstate' => $lockstate,
'$return_url' => \App::$cmd,
- '$path' => str_replace('cloud/' . $this->auth->owner_nick . '/', '', $path),
+ '$path' => trim(str_replace('cloud/' . $this->auth->owner_nick, '', $path),'/'),
'$dragdroptext' => t('Drop files here to immediately upload')
));
}