From 52fc5e45ec6e7d80a668cdcf914a1c18c6248581 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Wed, 25 May 2022 13:40:38 +0800 Subject: [PATCH] * Fix bug #22665. --- module/kanban/model.php | 1 - 1 file changed, 1 deletion(-) 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;