Avoid Postgres SQL error when creating swimlane without task limit

This commit is contained in:
Frédéric Guillot 2020-02-25 20:43:41 -08:00
parent 8266422c8a
commit e79cf77058
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ class SwimlaneModel extends Base
'description' => $description, 'description' => $description,
'position' => $this->getLastPosition($projectId), 'position' => $this->getLastPosition($projectId),
'is_active' => 1, 'is_active' => 1,
'task_limit' => $task_limit, 'task_limit' => intval($task_limit),
)); ));
} }