* Fix bug.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user