From 84475b7cc52b6aad0ffc01fcba90c3fd90ff4514 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Tue, 19 Sep 2023 15:27:04 +0800 Subject: [PATCH] * Fix error of caselib dropmenu in tree::browse. --- module/tree/control.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/module/tree/control.php b/module/tree/control.php index 5cf932e883..3bc2859d6f 100644 --- a/module/tree/control.php +++ b/module/tree/control.php @@ -102,8 +102,9 @@ class tree extends control elseif(strpos($viewType, 'caselib') !== false) { $this->loadModel('caselib'); - $lib = $this->caselib->getById($rootID); - $this->view->root = $lib; + $lib = $this->caselib->getById($rootID); + $this->view->root = $lib; + $this->view->libID = $rootID; } if($viewType == 'story')