From 7b53602aff0743ffd0d28badc388bdb103a73cfa Mon Sep 17 00:00:00 2001 From: chaideqing Date: Wed, 27 Dec 2023 14:49:47 +0800 Subject: [PATCH] * Fix bug for use ->post in if. --- module/task/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/task/control.php b/module/task/control.php index 9b19f242af..b0e2be0518 100755 --- a/module/task/control.php +++ b/module/task/control.php @@ -1694,7 +1694,7 @@ class task extends control */ public function batchClose($confirm = 0) { - if($this->post->taskIDList or $confirm) + if(!empty($_POST['taskIDList']) or $confirm) { $taskIDList = $this->post->taskIDList; if(!isset($_POST['taskIDList']) && !empty($_SESSION['batchCloseTaskIDList']))