* Fix the bug of doc search.

This commit is contained in:
xieqiyu
2023-11-16 15:47:12 +08:00
parent f7222ed328
commit 609ae3db84
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -144,7 +144,7 @@ class api extends control
$this->view->objectID = $objectID;
$this->view->moduleID = $moduleID;
$this->view->version = $version;
$this->view->libTree = $this->doc->getLibTree($libID, $libs, 'api', $moduleID, $objectID, $browseType, $param);
$this->view->libTree = $this->doc->getLibTree($libID, $libs, 'api', $moduleID, $objectID, $browseType, (int)$param);
$this->view->users = $this->user->getPairs('noclosed,noletter');
$this->view->objectDropdown = isset($libs[$libID]) ? $this->generateLibsDropMenu($libs[$libID], $release) : '';
$this->view->spaceType = 'api';