diff --git a/module/bug/zen.php b/module/bug/zen.php index 26f5800c41..4dd1fa8d50 100644 --- a/module/bug/zen.php +++ b/module/bug/zen.php @@ -640,7 +640,7 @@ class bugZen extends bug ->setIF($formData->data->assignedTo != '', 'assignedDate', helper::now()) ->setIF($formData->data->story !== false, 'storyVersion', $this->loadModel('story')->getVersion((int)$formData->data->story)) ->setIF($this->post->project, 'project', $this->post->project) - ->setIF($this->post->project, 'execution', $this->post->execution) + ->setIF($this->post->execution, 'execution', $this->post->execution) ->get(); if($this->post->fromCase && $this->post->fromCase != $formData->data->case) @@ -1966,7 +1966,7 @@ class bugZen extends bug $this->loadModel('kanban'); if(!empty($laneID) and !empty($columnID)) $this->kanban->addKanbanCell($executionID, $laneID, $columnID, 'bug', (string)$bugID); - if(empty($laneID) or empty($columnID)) $this->kanban->updateLane($executionID, 'bug'); + if(empty($laneID) or empty($columnID)) $this->kanban->updateLane((int)$executionID, 'bug'); } /* Callback the callable method to process the related data for object that is transfered to bug. */