diff options
author | redmatrix <git@macgirvin.com> | 2016-08-07 16:21:51 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-08-07 16:21:51 -0700 |
commit | e1659b0725c275c2ba5f38a02a0f3fbcec145519 (patch) | |
tree | 7f7c7268e0727d6346157d6905a3a6a182da377e | |
parent | 89c026924bab191d668f9bd85152de9925f55fa7 (diff) | |
download | volse-hubzilla-e1659b0725c275c2ba5f38a02a0f3fbcec145519.tar.gz volse-hubzilla-e1659b0725c275c2ba5f38a02a0f3fbcec145519.tar.bz2 volse-hubzilla-e1659b0725c275c2ba5f38a02a0f3fbcec145519.zip |
fix cloud path
-rw-r--r-- | Zotlabs/Storage/Browser.php | 2 |
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') )); } |