aboutsummaryrefslogtreecommitdiffstats
path: root/3rdparty/Sabre/DAV/Browser/Plugin.php
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/Sabre/DAV/Browser/Plugin.php')
-rw-r--r--[-rwxr-xr-x]3rdparty/Sabre/DAV/Browser/Plugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/Sabre/DAV/Browser/Plugin.php b/3rdparty/Sabre/DAV/Browser/Plugin.php
index 09bbdd2ae02..b6440ab6340 100755..100644
--- a/3rdparty/Sabre/DAV/Browser/Plugin.php
+++ b/3rdparty/Sabre/DAV/Browser/Plugin.php
@@ -338,7 +338,7 @@ class Sabre_DAV_Browser_Plugin extends Sabre_DAV_ServerPlugin {
$icon = '';
if ($this->enableAssets) {
- $node = $parent->getChild($name);
+ $node = $this->server->tree->getNodeForPath(($path?$path.'/':'') . $name);
foreach(array_reverse($this->iconMap) as $class=>$iconName) {
if ($node instanceof $class) {