From beab1217de13356f14db1e5114fcc66b33558480 Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Wed, 4 Aug 2021 09:02:23 +0800 Subject: [PATCH] * Modify the comment. --- module/build/model.php | 2 +- module/doc/model.php | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/module/build/model.php b/module/build/model.php index 87c9559f39..2d6513b355 100644 --- a/module/build/model.php +++ b/module/build/model.php @@ -229,7 +229,7 @@ class buildModel extends model * @param int $productID * @param int $branch * @param string $params noempty|notrunk, can be a set of them - * @param int $buildIDList + * @param string $buildIDList * @access public * @return array */ diff --git a/module/doc/model.php b/module/doc/model.php index e8082f2664..f8378fa288 100644 --- a/module/doc/model.php +++ b/module/doc/model.php @@ -2301,8 +2301,6 @@ EOT; if(empty($object)) die(js::locate(helper::createLink($type, 'create'))); } - if(!$libID) $libID = key($libs); - $openApp = strpos('doc,product,project,execution', $this->app->openApp) !== false ? $this->app->openApp : 'doc'; if($openApp != 'doc') $this->loadModel($openApp)->setMenu($objectID);