diff --git a/DokuWikiObjectRepresentation.class.php b/DokuWikiObjectRepresentation.class.php index ed063c0..3da2d6c 100644 --- a/DokuWikiObjectRepresentation.class.php +++ b/DokuWikiObjectRepresentation.class.php @@ -216,7 +216,9 @@ class DokuWikiIterator { $callback($ns); foreach($ns->nodes as $node) { /** $node DokuWikiNode */ - $callback($node); + if ($node instanceof DokuWikiPage) { + $callback($node); + } if ($node instanceof DokuWikiNameSpace) { $this->_all($node,$callback); }