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 2150a57cf8..b95ce756a2 100644 --- a/module/doc/model.php +++ b/module/doc/model.php @@ -2300,8 +2300,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);