Avoid Postgres SQL error when creating swimlane without task limit
This commit is contained in:
parent
8266422c8a
commit
e79cf77058
|
|
@ -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),
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue