From e1659b0725c275c2ba5f38a02a0f3fbcec145519 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sun, 7 Aug 2016 16:21:51 -0700 Subject: fix cloud path --- Zotlabs/Storage/Browser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs/Storage/Browser.php') 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') )); } -- cgit v1.2.3