* finish task #2782.

This commit is contained in:
chenfeiCF
2016-11-24 14:18:15 +08:00
parent a70a30f837
commit cefe16af35
9 changed files with 50 additions and 21 deletions

View File

@@ -415,7 +415,7 @@ class bugModel extends model
krsort($moduleIDList);
if($moduleIDList)
{
$modules = $this->dao->select('*')->from(TABLE_MODULE)->where('id')->in($moduleIDList)->fetchAll('id');
$modules = $this->dao->select('*')->from(TABLE_MODULE)->where('id')->in($moduleIDList)->andWhere('deleted')->eq(0)->fetchAll('id');
foreach($moduleIDList as $moduleID)
{
if(isset($modules[$moduleID]))