diff options
Diffstat (limited to 'app/Model')
-rw-r--r-- | app/Model/BoardModel.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/BoardModel.php b/app/Model/BoardModel.php index 6b7fe490..f83b7cc2 100644 --- a/app/Model/BoardModel.php +++ b/app/Model/BoardModel.php @@ -69,7 +69,7 @@ class BoardModel extends Base 'project_id' => $project_id, 'task_limit' => $column['task_limit'], 'description' => $column['description'], - 'hide_in_dashboard' => $column['hide_in_dashboard'], + 'hide_in_dashboard' => $column['hide_in_dashboard'] ?: 0, // Avoid SQL error with Postgres ); if (! $this->db->table(ColumnModel::TABLE)->save($values)) { |