Merge branch 'sprint/194_liumengyi_fixbug' into 'master'
* Fix bug #22665. See merge request easycorp/zentaopms!3588
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user