* Modify error in file lib at not max version.

This commit is contained in:
qiyu-xie
2021-07-30 10:05:26 +08:00
parent 6e5ef4c27b
commit 09a8a1ecb3
+1
View File
@@ -1313,6 +1313,7 @@ class docModel extends model
}
elseif($type == 'project')
{
$issueIdList = $meetingIdList = $designIdList = '';
if(isset($this->config->maxVersion))
{
$issueIdList = $this->dao->select('id')->from(TABLE_ISSUE)->where('project')->eq($objectID)->andWhere('deleted')->eq('0')->andWhere('project')->in($this->app->user->view->products)->get();