diff options
author | friendica <info@friendica.com> | 2015-03-29 16:05:08 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-03-29 16:05:08 -0700 |
commit | 505e5e90b26fa398e08b6fcad266b7f0ac759bd2 (patch) | |
tree | 199ce1352c34d1d915e2a00b9eb8879fa2e0e7a0 /include/RedDAV/RedBrowser.php | |
parent | 76a6739b93c1c8f08dd95a45235dd89fb4c507af (diff) | |
download | volse-hubzilla-505e5e90b26fa398e08b6fcad266b7f0ac759bd2.tar.gz volse-hubzilla-505e5e90b26fa398e08b6fcad266b7f0ac759bd2.tar.bz2 volse-hubzilla-505e5e90b26fa398e08b6fcad266b7f0ac759bd2.zip |
fix os_mkdir
Diffstat (limited to 'include/RedDAV/RedBrowser.php')
-rw-r--r-- | include/RedDAV/RedBrowser.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/RedDAV/RedBrowser.php b/include/RedDAV/RedBrowser.php index e651562ec..56d18ded6 100644 --- a/include/RedDAV/RedBrowser.php +++ b/include/RedDAV/RedBrowser.php @@ -95,6 +95,7 @@ class RedBrowser extends DAV\Browser\Plugin { '{DAV:}getlastmodified', ), 1); + $parent = $this->server->tree->getNodeForPath($path); $parentpath = array(); @@ -167,6 +168,7 @@ class RedBrowser extends DAV\Browser\Plugin { $fullPath = DAV\URLUtil::encodePath('/' . trim($this->server->getBaseUri() . ($path ? $path . '/' : '') . $name, '/')); + $displayName = isset($file[200]['{DAV:}displayname']) ? $file[200]['{DAV:}displayname'] : $name; $displayName = $this->escapeHTML($displayName); |