From aeb0d8054d56a012dec52c523f0afd94f4fb4edd Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Wed, 1 Feb 2023 11:13:11 +0800 Subject: [PATCH] * Fix bug#30834. --- module/doc/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/doc/control.php b/module/doc/control.php index 9316978bdd..48de070f6a 100755 --- a/module/doc/control.php +++ b/module/doc/control.php @@ -541,7 +541,7 @@ class doc extends control $this->view->doc = $doc; $this->view->moduleOptionMenu = $this->tree->getOptionMenu($libID, 'doc', $startModuleID = 0); $this->view->type = $type; - $this->view->libs = $this->doc->getLibs('all', $extra = 'withObject|noBook', $libID, $objectID); + $this->view->libs = $this->doc->getLibs('all', 'withObject', $libID, $objectID, 'book'); $this->view->lib = $lib; $this->view->groups = $this->loadModel('group')->getPairs(); $this->view->users = $this->user->getPairs('noletter|noclosed|nodeleted', $doc->users);