* Fix bug.

This commit is contained in:
滔哥
2017-12-21 16:06:13 +08:00
parent bb7d362acf
commit 31fb6383b2
+1 -1
View File
@@ -1239,7 +1239,7 @@ class taskModel extends model
->page($pager)
->fetchAll('id');
$this->loadModel('common')->saveQueryCondition($this->dao->get(), 'task', ($productID or $type == 'needconfirm' or $type == 'myinvolved') ? false : true);
$this->loadModel('common')->saveQueryCondition($this->dao->get(), 'task', ($productID or in_array($type, array('assignedtome', 'myinvolved', 'needconfirm'))) ? false : true);
if(empty($tasks)) return array();