diff --git a/module/kanban/model.php b/module/kanban/model.php index ffd966d6d9..6ab2b71c5c 100644 --- a/module/kanban/model.php +++ b/module/kanban/model.php @@ -3703,7 +3703,6 @@ class kanbanModel extends model $count = $this->dao->select('COUNT(id) AS count')->from(TABLE_KANBANLANE) ->where('deleted')->eq('0') ->andWhere('region')->eq($object->region) - ->beginIF($action == 'deletelane')->andWhere('type')->eq($object->type)->fi() ->beginIF($action == 'sortlane')->andWhere('`group`')->eq($object->group)->fi() ->fetch('count'); return $count > 1;