* bugModel: set default value of the $kanbanParams parameter.

This commit is contained in:
liugang
2023-05-23 11:13:30 +08:00
parent 1bd75e6929
commit 02c8dd8063
+1 -1
View File
@@ -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);