Reverse the array, so the format is right.

Fixes T3
This commit is contained in:
Tim Schumacher 2013-11-26 20:40:43 +01:00
parent de0a5423a6
commit cee21a34bb

View file

@ -114,6 +114,7 @@ abstract class DokuWikiNode {
}
$node = $parent;
}
$path = array_reverse($path);
if ($this->name != 'root') {
$path[] = $this->name;
}