[BUGFIX] Invalid method signature for t3lib_tree_extdirect_Node::toArray()
[Packages/TYPO3.CMS.git] / t3lib / tree / extdirect / class.t3lib_tree_extdirect_node.php
index cc40c30..625ad00 100644 (file)
@@ -550,9 +550,10 @@ class t3lib_tree_extdirect_Node extends t3lib_tree_Node {
        /**
         * Returns the node in an array representation that can be used for serialization
         *
+        * @param bool $addChildNodes
         * @return array
         */
-       public function toArray() {
+       public function toArray($addChildNodes = TRUE) {
                $arrayRepresentation = array(
                        'serializeClassName' => get_class($this),
                        'id' => $this->getId(),