From 424f5ef5843dfa2fca5c1e87eceb6c30df7f48c2 Mon Sep 17 00:00:00 2001 From: sunguangming Date: Fri, 16 Aug 2024 03:02:47 +0000 Subject: [PATCH] * [bug#54088,done,0.2h] fix bug. --- module/doc/ui/tablecontents.html.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/module/doc/ui/tablecontents.html.php b/module/doc/ui/tablecontents.html.php index 19ebd2f04c..8e4042e861 100644 --- a/module/doc/ui/tablecontents.html.php +++ b/module/doc/ui/tablecontents.html.php @@ -57,11 +57,13 @@ if(empty($libTree)) dtable( set::cols(array()), set::data(array()), - set::createLink(createLink('doc', 'createLib', "type={$type}&objectID={$objectID}")), + set::createLink(createLink('doc', 'createLib', "type={$type}&objectID={$objectID}&libID={$libID}")), set::createTip($lang->doc->createLib), set::createAttr("data-toggle='modal'"), set::emptyTip($lang->doc->noLib) ); + + if($libID) include 'lefttree.html.php'; return; }