From a2c68c425b2c006c9c30af22e12207f00fa3818a Mon Sep 17 00:00:00 2001 From: tianshujie Date: Fri, 24 Mar 2023 10:10:00 +0800 Subject: [PATCH] * Fix bug #33338. --- 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 48f02ae8b9..6678c7b1ca 100755 --- a/module/doc/control.php +++ b/module/doc/control.php @@ -1320,7 +1320,7 @@ class doc extends control $this->view->orderBy = $orderBy; $this->view->exportMethod = $type . '2export'; $this->view->canExport = common::hasPriv('doc', $type . '2export'); - $this->view->apiLibs = $this->doc->getApiLibs(0, $apiObjectType, $apiObjectID); + $this->view->apiLibs = $type == 'execution' ? array() : $this->doc->getApiLibs(0, $apiObjectType, $apiObjectID); $this->display(); }