This commit is contained in:
tianshujie
2022-11-07 10:03:47 +08:00
parent 91f6d1b9f0
commit 280a37559e
+1 -1
View File
@@ -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()));