From a596a19a988503c22eab5e2e5bb4992d769dd271 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Wed, 26 Jan 2022 10:15:06 +0800 Subject: [PATCH] * Fix bug #18993. --- module/kanban/model.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/module/kanban/model.php b/module/kanban/model.php index e4da1c8797..a58b3dbc6b 100644 --- a/module/kanban/model.php +++ b/module/kanban/model.php @@ -1677,7 +1677,7 @@ class kanbanModel extends model foreach($objects as $objectID => $object) { $remove = true; - if($param == 'public') continue; + if($objectType == 'kanbanspace' and $object->type == 'public') continue; if($object->owner == $account) $remove = false; if(strpos(",{$object->team},", ",$account,") !== false) $remove = false; @@ -2807,11 +2807,11 @@ class kanbanModel extends model /** * Set column width. - * - * @param int $kanbanID - * @param string $from + * + * @param int $kanbanID + * @param string $from * @access public - * @return bool|void + * @return bool|void */ public function setColumnWidth($kanbanID, $from = 'kanban') {