diff --git a/module/bug/control.php b/module/bug/control.php index 5b8fa4fcf7..b0c319c502 100755 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -916,7 +916,7 @@ class bug extends control * @access public * @return void */ - public function edit($bugID, $comment = false, $kanbanGroup = '') + public function edit($bugID, $comment = false, $kanbanGroup = 'default') { if(!empty($_POST)) { @@ -1351,7 +1351,7 @@ class bug extends control * @access public * @return void */ - public function assignTo($bugID, $kanbanGroup = '') + public function assignTo($bugID, $kanbanGroup = 'default') { $bug = $this->bug->getById($bugID); $this->bug->checkBugExecutionPriv($bug); diff --git a/module/kanban/model.php b/module/kanban/model.php index 6caf745fc9..38288b99c5 100644 --- a/module/kanban/model.php +++ b/module/kanban/model.php @@ -827,7 +827,7 @@ class kanbanModel extends model */ public function getRDKanban($executionID, $browseType = 'all', $orderBy = 'id_desc', $regionID = 0, $groupBy = 'default', $searchValue = '') { - if($groupBy != 'default') return $this->getKanban4Group($executionID, $browseType, $groupBy, $searchValue); + if($groupBy != 'default' and $groupBy != '') return $this->getKanban4Group($executionID, $browseType, $groupBy, $searchValue); $kanbanData = array(); $actions = array('sortGroup'); diff --git a/module/story/control.php b/module/story/control.php index 87cfc0166f..6b3a43444e 100644 --- a/module/story/control.php +++ b/module/story/control.php @@ -662,7 +662,7 @@ class story extends control * @access public * @return void */ - public function edit($storyID, $kanbanGroup = '') + public function edit($storyID, $kanbanGroup = 'default') { if(!empty($_POST)) { @@ -1701,7 +1701,7 @@ class story extends control * @access public * @return void */ - public function assignTo($storyID, $kanbanGroup = '') + public function assignTo($storyID, $kanbanGroup = 'default') { if(!empty($_POST)) { diff --git a/module/task/control.php b/module/task/control.php index e46a6399c5..104163f453 100755 --- a/module/task/control.php +++ b/module/task/control.php @@ -470,7 +470,7 @@ class task extends control * @access public * @return void */ - public function edit($taskID, $comment = false, $kanbanGroup = '') + public function edit($taskID, $comment = false, $kanbanGroup = 'default') { $this->commonAction($taskID); $task = $this->task->getById($taskID); @@ -712,7 +712,7 @@ class task extends control * @access public * @return void */ - public function assignTo($executionID, $taskID, $kanbanGroup = '') + public function assignTo($executionID, $taskID, $kanbanGroup = 'default') { $this->commonAction($taskID); $task = $this->task->getByID($taskID); @@ -2110,7 +2110,7 @@ class task extends control * @access public * @return void */ - public function editTeam($executionID, $task, $kanbanGroup = '') + public function editTeam($executionID, $task, $kanbanGroup = 'default') { $taskID = $task->id; $this->commonAction($taskID);