Skip to content

Commit

Permalink
* Modify getUserSuspendTasks.
Browse files Browse the repository at this point in the history
  • Loading branch information
liumengyi-luna committed Feb 18, 2022
1 parent ef212d5 commit fe8f6bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/task/model.php
Original file line number Diff line number Diff line change
Expand Up @@ -2267,7 +2267,7 @@ public function getUserSuspendedTasks($account)
->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)
Expand Down

0 comments on commit fe8f6bb

Please sign in to comment.