* Fix bug #35727, Violate not null constraint on [progress].
This commit is contained in:
@@ -3068,7 +3068,7 @@ class kanbanModel extends model
|
||||
dao::$errors[] = $this->lang->kanbancard->error->progressIllegal;
|
||||
return false;
|
||||
}
|
||||
$this->dao->update(TABLE_KANBANCARD)->set('progress')->eq($this->post->progress)->set('status')->eq('doing')->where('id')->eq($cardID)->exec();
|
||||
$this->dao->update(TABLE_KANBANCARD)->set('progress')->eq($this->post->progress ? $this->post->progress : 0)->set('status')->eq('doing')->where('id')->eq($cardID)->exec();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user