From e79cf770580050dc277ba271fc39802b942c7511 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Guillot?= Date: Tue, 25 Feb 2020 20:43:41 -0800 Subject: [PATCH] Avoid Postgres SQL error when creating swimlane without task limit --- app/Model/SwimlaneModel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Model/SwimlaneModel.php b/app/Model/SwimlaneModel.php index 869aec311..6e5668de2 100644 --- a/app/Model/SwimlaneModel.php +++ b/app/Model/SwimlaneModel.php @@ -243,7 +243,7 @@ class SwimlaneModel extends Base 'description' => $description, 'position' => $this->getLastPosition($projectId), 'is_active' => 1, - 'task_limit' => $task_limit, + 'task_limit' => intval($task_limit), )); }