diff --git a/presentation/lookAndFeel/knowledgeTree/dashboardUI.inc b/presentation/lookAndFeel/knowledgeTree/dashboardUI.inc index a6dcc38..06c35ba 100644 --- a/presentation/lookAndFeel/knowledgeTree/dashboardUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/dashboardUI.inc @@ -177,7 +177,7 @@ function renderDependantDocuments($aDependantDocumentList) { $oTemplateDocument = Document::get($oDependantDocument->getTemplateDocumentID()); $sToRender .= "\t\t\t\n"; - $sToRender .= "\t\t\t\t" . generateControllerLink("addDocument", "fFolderID=" . User::getUserRootFolder() . "&fDependantDocumentID=" . $oDependantDocument->getID(), $oDependantDocument->getDocumentTitle()) . ""; + $sToRender .= "\t\t\t\t" . generateControllerLink("addDocument", "fFolderID=" . User::getUserRootFolderID() . "&fDependantDocumentID=" . $oDependantDocument->getID(), $oDependantDocument->getDocumentTitle()) . ""; if (!($oTemplateDocument === false)) { $sToRender .= "" . generateControllerLink("viewDocument", "fDocumentID=" . $oTemplateDocument->getID(), "graphicsUrl/widgets/dstatus.gif\" border=\"0\"/> " . $oTemplateDocument->getName()) . "\n"; } else {