diff --git a/module/kanban/model.php b/module/kanban/model.php index 5515c80f33..c286371e64 100644 --- a/module/kanban/model.php +++ b/module/kanban/model.php @@ -221,7 +221,7 @@ class kanbanModel extends model $column->order = $maxOrder + 1; } - if(!$column->limit && empty($column->noLimit)) dao::$errors['limit'][] = sprintf($this->lang->error->notempty, $this->lang->kanban->WIP); + if(!$column->limit && empty($_POST['noLimit'])) dao::$errors['limit'][] = sprintf($this->lang->error->notempty, $this->lang->kanban->WIP); if(!preg_match("/^-?\d+$/", $column->limit) or (!isset($_POST['noLimit']) and $column->limit <= 0)) { dao::$errors['limit'] = $this->lang->kanban->error->mustBeInt;