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()));