From 280a37559e023e49ff6056beeb77df38e5b28b94 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Mon, 7 Nov 2022 10:03:47 +0800 Subject: [PATCH] * Fix bug #29293. --- 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 03625abb28..203f437b15 100755 --- a/module/task/control.php +++ b/module/task/control.php @@ -558,7 +558,7 @@ class task extends control { $this->loadModel('action'); $changes = array(); - if($comment == 'false' or $comment == false) + if(!$comment or $comment == 'false') { $changes = $this->task->update($taskID); if(dao::isError()) return print(js::error(dao::getError()));