diff --git a/draft/nestedset_changes.tree b/draft/nestedset_changes.tree index f30e41a7a..85245d3cf 100644 --- a/draft/nestedset_changes.tree +++ b/draft/nestedset_changes.tree @@ -25,7 +25,7 @@ $query->select("base.name, le.topic, a.name")->from("VForum_Model_ForumNode base ->leftJoin("base.lastEntry le") ->leftJoin("le.author a") ->setHydrationMode(Doctrine_Query::HYDRATE_ARRAY); -$treeMngr = $conn->getTable('VForum_Model_Category')->getTree(); +$treeMngr = $conn->getTable('VForum_Model_ForumNode')->getTree(); $treeMngr->setBaseQuery($query); $tree = $tree->fetchTree(); $treeMngr->resetBaseQuery();