* Fallback code for bug#29896.

This commit is contained in:
xieqiyu
2022-11-16 17:19:43 +08:00
parent 6b8fba345d
commit 679f2641aa
2 changed files with 0 additions and 3 deletions
-1
View File
@@ -88,7 +88,6 @@ class programModel extends model
$dao = $this->dao->select('id, name, program')->from(TABLE_PRODUCT)
->where('deleted')->eq(0)
->andWhere('vision')->eq($this->config->vision)
->beginIF($programID !== '')->andWhere('program')->eq($programID)->fi()
->beginIF($shadow !== 'all')->andWhere('shadow')->eq((int)$shadow)->fi()
->beginIF($mode == 'assign')->andWhere('program')->eq($programID)->fi()
->beginIF(strpos($status, 'noclosed') !== false)->andWhere('status')->ne('closed')->fi()