* Fix export parent task bug.

This commit is contained in:
Yagami
2019-05-06 13:04:47 +08:00
parent 195b8e742a
commit 50023bec34
+1 -1
View File
@@ -1335,7 +1335,7 @@ class task extends control
if(!$this->session->taskWithChildren and $tasks)
{
$children = $this->dao->select('*')->from(TABLE_TASK)->where('deleted')->eq(0)
->andWhere('parent')->ne(0)
->andWhere('parent')->gt(0)
->andWhere('parent', true)->in(array_keys($tasks))
->beginIF($this->post->exportType == 'selected')->orWhere('id')->in($this->cookie->checkedItem)->fi()
->markRight(1)