diff --git a/DokuWikiObjectRepresentation.class.php b/DokuWikiObjectRepresentation.class.php index 95f9821..ed063c0 100644 --- a/DokuWikiObjectRepresentation.class.php +++ b/DokuWikiObjectRepresentation.class.php @@ -114,6 +114,7 @@ abstract class DokuWikiNode { } $node = $parent; } + $path = array_reverse($path); if ($this->name != 'root') { $path[] = $this->name; }