From 02c8dd806351bb30a60880afdee0c8f93ef76617 Mon Sep 17 00:00:00 2001 From: liugang Date: Tue, 23 May 2023 11:13:30 +0800 Subject: [PATCH] * bugModel: set default value of the $kanbanParams parameter. --- module/bug/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/bug/model.php b/module/bug/model.php index 39015d70ad..2f4847cd96 100644 --- a/module/bug/model.php +++ b/module/bug/model.php @@ -1036,7 +1036,7 @@ class bugModel extends model * @access public * @return bool */ - public function activate(object $bug, array $kanbanParams): bool + public function activate(object $bug, array $kanbanParams = array()): bool { $bugID = (int)$bug->id; $oldBug = $this->getBaseInfo($bugID);