* Modify getUserSuspendTasks.
This commit is contained in:
@@ -2267,7 +2267,7 @@ class taskModel extends model
|
||||
->from(TABLE_TASK)->alias('t1')
|
||||
->leftJoin(TABLE_EXECUTION)->alias('t2')->on("t1.execution = t2.id")
|
||||
->leftJoin(TABLE_PROJECT)->alias('t3')->on("t1.project = t3.id")
|
||||
->where('t1.assignedTo')->eq($this->app->user->account)
|
||||
->where('t1.assignedTo')->eq($account)
|
||||
->andWhere('(t2.status')->eq('suspended')
|
||||
->orWhere('t3.status')->eq('suspended')
|
||||
->markRight(1)
|
||||
|
||||
Reference in New Issue
Block a user