From f043a50e5e16ce1d50004c83bcf14cb12e482a1a Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Fri, 24 Dec 2021 13:20:04 +0800 Subject: [PATCH] * Code for task #17919. --- module/task/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/task/model.php b/module/task/model.php index 943d799b55..ff058c24c5 100644 --- a/module/task/model.php +++ b/module/task/model.php @@ -2157,7 +2157,7 @@ class taskModel extends model ->orWhere('t1.finishedList')->like("%,{$account},%") ->markRight(1) ->fi() - ->beginIF($this->app->rawModule == 'my' or $this->app->rawModule == 'block')->andWhere('t2.status')->ne('suspended')->orWhere('t4.status')->ne('suspended')->fi() + ->beginIF($this->app->rawModule == 'my' or $this->app->rawModule == 'block')->andWhere('(t2.status')->ne('suspended')->orWhere('t4.status')->ne('suspended')->markRight(1)->fi() ->beginIF($type != 'all' and $type != 'finishedBy')->andWhere("t1.`$type`")->eq($account)->fi() ->orderBy($orderBy) ->beginIF($limit > 0)->limit($limit)->fi()